[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2018-03-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #8 from Martin Liška --- (In reply to Jonathan Wakely from comment #7) > return std::move(cv); Thanks! Works for me. Thus backport would not be probably needed.

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2018-03-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #7 from Jonathan Wakely --- return std::move(cv);

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2018-03-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #6 from Martin Liška --- Created attachment 43593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43593=edit Reduced test-case from chromium Well, I've got following reduced test-case. It comes from chromium project and my

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2018-03-07 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #5 from Jason Merrill --- (In reply to Martin Liška from comment #4) > As the code snippet is also rejected in GCC 7, do you plan to backport that? I wasn't planning to, since it isn't a regression, but I could be convinced.

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2018-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2017-09-13 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #3 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 16:50:48 2017 New Revision: 252393 URL: https://gcc.gnu.org/viewcvs?rev=252393=gcc=rev Log: PR c++/80452 - Core 1579, implicit move semantics on return/throw

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2017-08-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2017-08-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 --- Comment #1 from Jason Merrill --- Author: jason Date: Thu Aug 10 19:07:30 2017 New Revision: 251035 URL: https://gcc.gnu.org/viewcvs?rev=251035=gcc=rev Log: PR c++/80452 - Core 1579, implicit move semantics on return/throw

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2017-08-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/80452] [DR 1579] incorrect value category deduced for return value

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|