[Bug c++/67200] Copy elision and implicit move in return performed in cases not allowed by standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67200 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed||2015-08-13 Ever confirmed|0 |1
[Bug c++/67200] Copy elision and implicit move in return performed in cases not allowed by standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67200 TC changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from TC --- Appears to be fixed in GCC 6, presumably by the delayed folding changes: main.cpp: In function 'A f()': main.cpp:9:23: error: use of deleted function 'A::A(const A&)' return true ? a : a; ^ main.cpp:3:5: note: declared here A(const A&) = delete; ^
[Bug c++/67200] Copy elision and implicit move in return performed in cases not allowed by standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67200 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |6.0