https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115606
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |arm-*-*
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-06-24
Component|middle-end |c++
Ever confirmed|0 |1
Summary|return slot opt prevents |C++ front-end marks the
|tail calls |return slot as addressable
| |early on which prevents
| |tail call being marked
Severity|normal |enhancement
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Though.
It looks like that part is not just the arm backend.
So there are 2 issues here.
Let us record this for the C++ front-end issue rather than the middle-end not
tailing calling afterwards.