https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail964; if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail964; if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail964; We check for SIDE_EFFECTS so that works correctly but trap is counted as a side effect here. Double blah.