[Bug middle-end/37293] [4.4 Regression] r139762 breaks libstdc++ build on darwin

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 2 03:54:00 GMT 2008



------- Comment #14 from pinskia at gcc dot gnu dot org  2008-09-02 03:53 -------
Created an attachment (id=16186)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16186&action=view)
Patch which should fix it but needs full testing

ChangeLog:
* cgraphunit.c (update_call_expr): Remove eh regions from statements which
become non throw.
(cgraph_function_versioning): Also clear DECL_WEAK.  Call update_call_expr
after updating the flags on the decl.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37293



More information about the Gcc-bugs mailing list