[Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 25 10:55:00 GMT 2019


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |8.4
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems tree-data-ref.c creates on this testcase (many apparently) ADDR_EXPRs of
these hard register VAR_DECLs and some of them survive until expansion, which
ICEs on them.  We should never try to create ADDR_EXPR of DECL_HARD_REGISTER
VAR_Ps IMHO.


More information about the Gcc-bugs mailing list