https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106724
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > we usually define logical-op-non-short-circuit based on branch cost Right, I think this definition was copied from the MIPS backend even which is wrong there too which was done back in 2005 way before the main uses of LOGICAL_OP_NON_SHORT_CIRCUIT was done.