https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83169
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
NRVO in the middle-end is solely an optimization. If some FE requires
something above that, then it needs to do it itself, C++ is an example of a FE
that does it.