https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62079
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernds at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Funny that peep2s peep2_do_cleanup_cfg variable is write-only. Bernd introduced that, a simple Index: recog.c =================================================================== --- recog.c (revision 213909) +++ recog.c (working copy) @@ -3553,6 +3553,8 @@ peephole2_optimize (void) BITMAP_FREE (live); if (peep2_do_rebuild_jump_labels) rebuild_jump_labels (get_insns ()); + if (peep2_do_cleanup_cfg) + cleanup_cfg (CLEANUP_CFG_CHANGED); } #endif /* HAVE_peephole2 */ fixes the testcase.