This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Jan 2011 16:06:45 +0000
- Subject: [Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306
- Auto-submitted: auto-generated
- References: <bug-47274-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274
--- Comment #9 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-17 16:05:56 UTC ---
> Note that the assert probably should do &&, not ||. Or it doesn't
> make sense at all. Asserting that the prevailing_node is analyzed
> should be enough.
No, the assert basically test that when node is analyzed prevailing_node must
be analyzed, too. So the test tests the implication, not conjunction.
It is possible that we merge two unanalyzed nodes (such as aliases).
Honza