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).)
