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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
   Target Milestone|---                         |14.0
             Target|                            |x86_64-linux-gnu

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note on aarch64, it is still optimized (not you need -fsigned-char there or
change all char to be `signed char`).

Note also with -fno-ivopts, even GCC 13 is not optimizing out the call to foo.

Reply via email to