------- Comment #1 from christophe at saout dot de  2006-10-10 15:40 -------
Created an attachment (id=12404)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12404&action=view)
preprocessed pthread_mutex_lock.c causing the miscompiled code

Call with "gcc -O2 -o test.o -c pthread_mutex_lock.c" on i686 and look at the
beginning of the generated __pthread_mutex_lock function, around the first
cmpxchg call.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415

Reply via email to