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



--- Comment #16 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-01-18 
22:02:08 UTC ---

If I compile the failing test case from comment 10 with...



% g++-fsf-4.8 -static-libgcc -fgnu-tm a.C

% otool -L ./a.out

./a.out:

    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version

169.3.0)



the test case no longer segfaults but aborts...



% ./a.out

Abort



Also this test case behaves the same in FSF gcc 4.6.3 and 4.7.2. The shared

linkage to libstdc++ and libitm segfaults and the static linkage aborts.



Note that a statically link in libgcc, libstdc++ and libitm under linux, the

test case runs without error.

Reply via email to