------- Additional Comments From jakub at redhat dot com 2005-07-03 13:40 ------- Ok, I can now reproduce the g++.dg/eh/cond1.C failure with trunk GCC. It works well when run against 4.0 libstdc++.so, or 20050625 HEAD one (but in that case built with the -fstack-protector patch in). Now, g++ 4.0 compiled/linked g++.dg/eh/cond1 also works when run against 4.0 libstdc++.so, or 20050625 HEAD one, but segfaults when using 20050703 HEAD libstdc++.so (FYI, libgcc_s exact version doesn't matter). cond1.s compiled by 20050703 HEAD and 4.0 is in fact identical except .ident and COMDAT section names. I have also built 20050703 HEAD libstdc++.so with g++ 4.0 (had to add #include <ia64intrin.h> into ia64/atomicity.h), and cond1 also segfaults against such built libstdc++.so. That g++ 4.0 was without -fstack-protector patches FYI. So I'm pretty positive this is caused by some libstdc++ EH change, with http://gcc.gnu.org/ml/gcc-cvs/2005-06/msg01019.html being the suspected one.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22284