[Bug tree-optimization/95308] ICE: in maybe_canonicalize_mem_ref_addr with -O3 -march=skylake-avx512

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 25 07:36:06 GMT 2020


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-05-25
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
(gdb) p debug_generic_expr (addr)
&MEM[symbol: a, index: ivtmp.36_228, step: 4, offset: 0B]

so we're propagating the address of a TMR.  In this case we have an
outer MEM_REF with zero offset so we can canonicalize this to sth valid.
Want to check where this comes from though.


More information about the Gcc-bugs mailing list