https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111465
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=102844 CC| |law at gcc dot gnu.org --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- So we simplify if (iftmp.2_137 <= location_138) .. else { _16 = (signed) prephitmp_15; if (_16 < 0) ... to _192 = (signed) location_138; if (0) .. else { _16 = (signed) prephitmp_15; if (_16 < 0) ... and then thread - actually we have registered the forward thread already and registered the block with the def of _192 as EDGE_NO_COPY_SRC_BLOCK (because it was empty before). This is essentially a duplicate of PR102844 which has gone latent.