[Bug target/80162] [5/6/7 Regression] ICE on invalid code (address of register variable)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 24 09:26:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list