https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106370
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Fixes 2 locations, for the rest it seems fine to me the way we write empty body loop: for (insn = get_insns (); insn; insn = conditionalize_block (insn)) continue; The warning should be omitted when the only statement in a loop in 'continue'.