[Bug middle-end/52201] FAIL: 29_atomics/atomic/operators/51811.cc (test for excess errors)

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 24 19:52:00 GMT 2012


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

--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> 2012-02-24 19:47:18 UTC ---
Created attachment 26746
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26746
disable tests if no atomic support present

That test case really shouldn't be running.   To make sure we're on the right
track, add the line 

// { dg-require-atomic-builtins "" }

at the top of the test case (patch attached for the 2 you mention)  

Presumably it won't execute the test case anymore, thus avoiding the failure...
Can you give it a try?

Are those the only 2 failing?  interesting.



More information about the Gcc-bugs mailing list