[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2018-07-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 --- Comment #6 from Jonathan Wakely --- It looks like r247793 fixed an ICE for: #include struct A{int i;}; struct B{}; struct C:A,B{}; struct V {std::vector m;}; V v{{C{{1},{; It doesn't look obviously related, so do we want to add that te

[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2017-05-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2017-05-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 --- Comment #4 from Jason Merrill --- Author: jason Date: Tue May 9 13:48:58 2017 New Revision: 247793 URL: https://gcc.gnu.org/viewcvs?rev=247793&root=gcc&view=rev Log: PR c++/70167 - array prvalue treated as lvalue * cp-tree.

[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2017-04-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2017-04-11 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 --- Comment #2 from Ville Voutilainen --- This has been suggested as a value category checker: https://wandbox.org/permlink/rXQewIGjI2096UbA There are two cases in it that print "Bug!" with gcc.

[Bug c++/70167] Some const array prvalues are incorrectly treated as lvalues

2017-04-11 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 Ville Voutilainen changed: What|Removed |Added Keywords||rejects-valid Status|UNC