------- Comment #1 from davek at gcc dot gnu dot org 2010-04-25 18:36 ------- Created an attachment (id=20487) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20487&action=view) Simple fix.
Maybe a bit verbose; I only made it a separate if clause so it could have its own comment, but should probably just integrate it into the preceding if. This resolves the failing testcase mentioned in the title, and also IIRC fixed g++.dg/eh/weak1.C. I'm testing it against the release of 4.5.0 that I'm currently preparing for the cygwin distro and posting it here so I don't forget to backport it upstream. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43888