[Bug c++/58055] [meta-bug] RVO / NRVO improvements

marc at kdab dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 29 16:07:00 GMT 2016


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

--- Comment #6 from marc at kdab dot com ---
To expand on my previous comment: the compiler is even allowed to elide the
copy if that would save a read/write from a volatile object. So I don't see how
this can be implemented anywhere except the front-end.


More information about the Gcc-bugs mailing list