https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107642
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- LOGICAL_OP_NON_SHORT_CIRCUIT has to be defined (if not already defined) in each file that uses it too. fold-const.cc:#ifndef LOGICAL_OP_NON_SHORT_CIRCUIT tree-ssa-ifcombine.cc:#ifndef LOGICAL_OP_NON_SHORT_CIRCUIT It would be better if it is defined in one place or better yet changed really to a target hook.