[Bug tree-optimization/114972] [11/12/13/14/15 Regression] Missed optimization for Dead Code Elimination

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 7 23:11:11 GMT 2024


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-05-07

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

FRE was able to do:
RHS a.0_13 + b.1_14 simplified to a.0_3 + b.1_4 has constants 0

But then in GCC 6 it can't see that it is that.

Maybe when something moved over to match and simplify it is missed ...


More information about the Gcc-bugs mailing list