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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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.
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
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167
Ville Voutilainen changed:
What|Removed |Added
Keywords||rejects-valid
Status|UNC