https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77647
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-19
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In the case of -, during VPR (or DOM), folds the - to 0. While in the + case,
it does not pick up it should be a + a instead of a + b.
Confirmed.