This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65003] [5 Regression] -fsection-anchors ICE
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Feb 2015 15:09:43 +0000
- Subject: [Bug middle-end/65003] [5 Regression] -fsection-anchors ICE
- Auto-submitted: auto-generated
- References: <bug-65003-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65003
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34713
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34713&action=edit
gcc5-pr65003.patch
Untested fix. If the assert ever triggers, I guess we'll need to do something
smarter in the cgraph area.
Note that symbols that are aliases from the beginning aren't a problem here,
the only problem is if a symbol has RTL created too early (in this case because
of notice_global_symbol) and then IPA or whatever turns it into an alias to
some other symbol.