[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 Andrew Pinski changed: What|Removed |Added Target|powerpc64-unknown-linux-gnu | Host|powerpc64-unknown-linux-gnu | --- Comment #5 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1521
[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 Andrew Pinski changed: What|Removed |Added CC||jonathan.poelen at gmail dot com --- Comment #4 from Andrew Pinski --- *** Bug 109757 has been marked as a duplicate of this bug. ***
[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 --- Comment #3 from Andrew Pinski --- typedef int & void zip1(int x) { ir{x}; } Also is accepted.
[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 --- Comment #2 from Hubert Tong --- Needs a resolution for CWG 1521.
[Bug c++/53931] [C++11] braced function style cast to reference should be prvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53931 Martin Sebor changed: What|Removed |Added Keywords|rejects-valid, wrong-code | Status|UNCONFIRMED |NEW Last reconfirmed||2016-01-20 CC||msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail||4.8.5, 5.3.0, 6.0 --- Comment #1 from Martin Sebor --- Confirmed with trunk, 5.3.0, and 4.8.5. The keyword is "accepts-invalid" (not "accepts-invalid" or "wrong-code", the letter being used to mark bugs where gcc generates incorrect code for valid programs, and are usually considered more serious than cases where it accepts invalid programs).