https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44675
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
Resolution|INVALID |---
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Though the second case the problem is different and you can do RSO even though
t is addressible because it does not escape until after the call.
