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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |tree-optimization
   Last reconfirmed|                            |2025-04-17
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. We get close at -O3 (even at -O2 we are close).

GCC even gets the tail call at -O2 which LLVM does not.

Reply via email to