[Bug middle-end/107642] LOGICAL_OP_NON_SHORT_CIRCUIT vs BRANCH_COST confusion

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 14 11:36:19 GMT 2022


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
At some point one of the ideas was to avoid deciding this "early" and leave it
entirely to RTL expansion what to do to have more similar GIMPLE through the
pipeline.  That eventually means prefering if (a & b) to if (a && b) on GIMPLE,
RTL expansion can only change it in one direction.


More information about the Gcc-bugs mailing list