This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80162] [5/6/7 Regression] ICE on invalid code (address of register variable)
- 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: Fri, 24 Mar 2017 09:26:00 +0000
- Subject: [Bug target/80162] [5/6/7 Regression] ICE on invalid code (address of register variable)
- Auto-submitted: auto-generated
- References: <bug-80162-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80162
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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 41039
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41039&action=edit
gcc7-pr80162.patch
Untested fix. Will still need to verify the c-common change doesn't break
stuff. But I think we don't really ever mark DECL_HARD_REGISTER vars as
DECL_GIMPLE_REG_P, so if the comment explains the only reason for that, we
should be fine.