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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack,
                   |                            |missed-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Two pieces depending on SHORT_CIRCUIT_...
maybe_fold_and_comparisons for ifcombine and a match.pd pattern for

  _1 = a_3(D) >= 0;
  _2 = b_4(D) >= 0;
  _5 = _1 & _2;

that should also make it work through maybe_fold_and_comparisons.  We have
something like this in fold-const.c btw.

Reply via email to