[Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Mon Apr 6 09:29:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list