This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2009 17:31:18 -0000
- Subject: [Bug tree-optimization/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766
- References: <bug-42386-10406@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jakub at gcc dot gnu dot org 2009-12-16 17:31 -------
Created an attachment (id=19323)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19323&action=view)
gcc45-pr42386.patch
Another alternative - don't mark nodes as reachable because of
same_comdat_group links if they are DECL_EXTERNAL. Fixes this too, and has the
advantage that we don't have issues with DECL_DEFER_OUTPUT dtors we decided to
keep DECL_EXTERNAL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42386