[Bug target/103396] [12 Regression][GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821

ams at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 24 12:30:59 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103396

Andrew Stubbs <ams at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-11-24
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ams at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Stubbs <ams at gcc dot gnu.org> ---
I think I have a fix for this. It happens when the link register has to be
saved because it is used implicitly by a function call, but the register is
never explicitly mentioned anywhere else in the function. I don't know why this
hasn't been a problem before now?


More information about the Gcc-bugs mailing list