http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60563
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-03-20
Ever confirmed|0 |1
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #3)
> I patched the test to avoid using int64_t.
thanks Ian.
> The test is intended to ensure that the builtin sync functions correctly
> throw exceptions when compiling with -fnon-call-exceptions. The failure
> here may indicate either that that does not work on Darwin, or that GCC can
> not unwind from a segmentation violation on Darwin. I don't know which.
>
> I marked the test to run on Darwin because cleanup-9.C runs on Darwin, and
> it tests that GCC can unwind from a segmentation violation. If cleanup-9.C
> passes on your system, then I don't know why sync-4.C fails. Somebody will
> have to debug the issue.
Well - when I build the test -O0,O1,Os it passes. Will need to investigate
what's changing at O2.