This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Apr 2009 09:28:56 -0000
- Subject: [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
- References: <bug-39659-10198@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hubicka at ucw dot cz 2009-04-06 09:28 -------
Subject: Re: [4.5 Regression] ICE building libstdc++v3 functexcept.cc
Hi,
this does not reproduce on my setup, but the following patch should fix it.
Honza
Index: except.c
===================================================================
--- except.c (revision 145584)
+++ except.c (working copy)
@@ -853,6 +853,7 @@ remove_unreachable_regions (sbitmap reac
r->region_number,
first_must_not_throw->region_number);
remove_eh_handler_and_replace (r, first_must_not_throw);
+ first_must_not_throw->may_contain_throw |= r->may_contain_throw;
}
else
bring_to_root (r);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39659