This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37293] [4.4 Regression] r139762 breaks libstdc++ build on darwin
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 03:53:03 -0000
- Subject: [Bug middle-end/37293] [4.4 Regression] r139762 breaks libstdc++ build on darwin
- References: <bug-37293-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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