https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166
--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> --- So with --param logical-op-non-short-circuit=1 (and my patch) the insn-emit-96.cc testcase as attached compiles in 100s and dominator optimization : 5.62 ( 6%) 0.05 ( 1%) 5.56 ( 5%) 3015k ( 0%) backwards jump threading : 27.60 ( 27%) 0.02 ( 0%) 27.63 ( 26%) 6783k ( 1%) The reproducing run with unpatched tree still runs since 27 minutes, the patched tree still runs since 12 minutes.