https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127263
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Summary|[13/14/15/16/17 Regression] |[13/14/15/16/17 Regression]
|ICE at -O2 during GIMPLE |ICE at -O2/-O3 during
|pass: pcom |GIMPLE pass: pcom
Last reconfirmed| |2026-09-08
Known to fail| |6.1.0
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Note pcom was enabled at -O2 starting in GCC 12, there was an ICE at -O3
beforehand too.
Note also this is only ICE with checking enabled.
I think this ICEs started a long time ago; most likely when MEM_REF was
introduced.
Most pointers are compatiable which is why this is NOT seen as often but
function pointers, pointers with different address space can show up this
issue.