This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libitm/55693] [4.8 Regression] libitm.c++/eh-1.C execution test fails on darwin from r193271


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]