https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compare-debug-failure --- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the testcase gcc.dg/pr109410.c passes but if you add -g, the ICE will show up still. This also means there will be some compare-debug failure too as the IR/CFG will be different with/without -g. I suspect gsi_after_labels here should really be gsi_start_nondebug_after_labels_bb .