[Bug middle-end/63184] [7/8/9 Regression] Fails to simplify comparison

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 5 14:54:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |6.1.0
         Resolution|---                         |FIXED
   Target Milestone|9.0                         |6.0

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
It happens that we optimize both cases now (with optimization only).  Would be
still a regression vs. GCC 4.7 at -O0 but IMHO we shouldn't care about
optimizing this at -O0.

Thus fixed.

I'll add the testcases.


More information about the Gcc-bugs mailing list