[Bug c++/79832] [C++14/17] result of subscripting non lvalue array should be xvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79832 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|--- |9.0 Status|NEW |RESOLVED --- Comment #4 from Andrew Pinski --- DR1213 was fixed in GCC 9+ by the following two revisions: r9-595 r9-711 And the two testcases here work for GCC 9+ so closing as fixed.
[Bug c++/79832] [C++14/17] result of subscripting non lvalue array should be xvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79832 Jonathan Wakely changed: What|Removed |Added CC||yaghmour.shafik at gmail dot com --- Comment #3 from Jonathan Wakely --- *** Bug 85867 has been marked as a duplicate of this bug. ***
[Bug c++/79832] [C++14/17] result of subscripting non lvalue array should be xvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79832 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-05-22 Ever confirmed|0 |1
[Bug c++/79832] [C++14/17] result of subscripting non lvalue array should be xvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79832 listcrawler at gmail dot com changed: What|Removed |Added CC||listcrawler at gmail dot com --- Comment #2 from listcrawler at gmail dot com --- // bumping bug with some asserts for test bench #include #include int main () { typedef int U [1]; U u; static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); static_assert ((std::is_same ::value), ""); }
[Bug c++/79832] [C++14/17] result of subscripting non lvalue array should be xvalue
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79832 --- Comment #1 from Felix Morgner --- adjusted the title to be more clear. sorry!