[Bug tree-optimization/123505] Bit-trick for absolute value fails to optimize

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 9 13:56:18 GMT 2026


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

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Tobias Schlüter from comment #0)
> Here's another branch-free pattern being misoptimized by gcc.

(Nit: please avoid "misoptimized" for missed optimisations. misoptimized
implies a miscompilation (wrong code).)


More information about the Gcc-bugs mailing list