This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80162] [5/6/7 Regression] ICE on invalid code (address of register variable)


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]