[Bug target/54267] std::exception not catched when -O3 (-Os is fine, link static, FreeBSD 9.0-RELEASE-p3)
david.keller at litchis dot fr
gcc-bugzilla@gcc.gnu.org
Wed Aug 15 03:05:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54267
--- Comment #4 from David Keller <david.keller at litchis dot fr> 2012-08-15 03:05:29 UTC ---
I'am trying.
It's not reproducible with <system_error> classes.
Static build seems to use shared libgcc_s:
$ldd bin/gcc-4.7/release/link-static/threading-multi/main
bin/gcc-4.7/release/link-static/threading-multi/main:
libstdc++.so.6 => /usr/local/lib/gcc47/libstdc++.so.6 (0x80084d000)
libm.so.5 => /lib/libm.so.5 (0x800b55000)
libgcc_s.so.1 => /usr/local/lib/gcc47/libgcc_s.so.1 (0x800d76000)
libthr.so.3 => /lib/libthr.so.3 (0x800f8b000)
libc.so.7 => /lib/libc.so.7 (0x8011ae000)
Shared build reproduces.
More information about the Gcc-bugs
mailing list