[Bug target/24757] [4.1 Regression] __sync_fetch_and_add on ia64

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sat Nov 19 22:12:00 GMT 2005



------- Comment #26 from pcarlini at suse dot de  2005-11-19 22:12 -------
Created an attachment (id=10297)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10297&action=view)
Reduced from thread/pthread3

Richard, I'm attaching a really minimal testcase, which fails very quickly
for me with mainline or 4_1-branch and doesn't with 4_0-branch. It's just
two threads and many constructions and destructions of a trivial class
which increases (descreases, respectively) atomically a static counter.

Of course the abort should never trigger.

Can you debug further with this? Otherwise, just tell me, ok?


-- 


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



More information about the Gcc-bugs mailing list