[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 17 06:41:00 GMT 2018


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

--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't think the middle end can even change. the semantics of TRUTH_ANDIF_EXPR
is always to short circuit. If you want a non short circuit you need to use
TRUTH_AND_EXPR


More information about the Gcc-bugs mailing list