[Bug middle-end/83169] Optimizer doesn't correctly handle NRVO if -fno-inline-small-functions or function uninlinable

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 26 19:04:00 GMT 2017


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.


More information about the Gcc-bugs mailing list