[Bug tree-optimization/123020] [13/14/15/16 Regression] Equivalent ternary and if produce different loop (extra compare in g())

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 9 07:58:01 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123020

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
if-conversion and threading are interacting indeed.  It's a known trade-off,
both can disrupt each other.  Heuristics to the rescue?


More information about the Gcc-bugs mailing list