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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.3
           Keywords|                            |needs-bisection
            Summary|missed optimization for     |[12/13/14 Regression]
                   |dead code elimination at    |missed optimization for
                   |-O3 (vs. -O2)               |dead code elimination at
                   |                            |-O3 (vs. -O2)

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note GCC 12+ can't remove the call to foo even at -O2. I have not looked into
why though.

Reply via email to