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

2024-03-25 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 57176, which changed state. Bug 57176 Summary: copy elision with function arguments passed by value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57176 What|Removed |Added

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

2023-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 58487, which changed state. Bug 58487 Summary: Missed return value optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58487 What|Removed |Added

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

2023-12-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 51571, which changed state. Bug 51571 Summary: No named return value optimization while adding a dummy scope https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51571 What|Removed |Added

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

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 96004, which changed state. Bug 96004 Summary: Copy elision with conditional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96004 What|Removed |Added

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

2023-06-06 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 58050, which changed state. Bug 58050 Summary: No return value optimization when calling static function through unnamed temporary https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58050 What|Removed

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

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 91217, which changed state. Bug 91217 Summary: [9 Regression] Returning std::array from lambda results in an extra copy step on return https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 What|Removed

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

2021-06-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 67302, which changed state. Bug 67302 Summary: [C++14] copy elision in return (expression) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67302 What|Removed |Added

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

2016-02-29 Thread marc at kdab dot com
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

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

2015-02-04 Thread marc at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 marc at kdab dot com changed: What|Removed |Added CC||marc at kdab dot com --- Comment

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

2014-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 58051, which changed state. Bug 58051 Summary: [DR1579] No named return value optimization when returned object is implicitly converted https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58051 What|Removed

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

2013-10-12 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at

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

2013-10-12 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 --- Comment #4 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #3) You can go farther if the return operation overwrites entirely the anonymous return object and for example allow returning literals, but I

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

2013-10-11 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added CC||glisse at gcc dot

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

2013-08-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW