https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97162
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Target Milestone|--- |11.0 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- So what are base1/base2 when the assert triggers? Also try a checking build which should ICE a bit earlier in the assert: gcc_checking_assert (DECL_P (base1) && DECL_P (base2)); but the call chain looks sufficiently protected - so maybe it's a GC issue of SCEV data...