[Bug target/106724] logical-op-non-short-circuit maybe should be 1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 24 15:47:46 GMT 2022


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.


More information about the Gcc-bugs mailing list