https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
--- Comment #4 from Marek Polacek ---
Author: mpolacek
Date: Fri Mar 2 20:27:46 2018
New Revision: 258156
URL: https://gcc.gnu.org/viewcvs?rev=258156&root=gcc&view=rev
Log:
PR c++/84578
* constexpr.c (get_array_or_vector_nelts):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
--- Comment #3 from Marek Polacek ---
I think I'll leave this as it is; we give an error for
struct A
{
constexpr A() : i(), x("foo") {}
int i;
char x[];
};
A a;
I have a patch for the ICE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
Martin Sebor changed:
What|Removed |Added
Keywords|ice-on-valid-code |ice-on-invalid-code
--- Comment #2 from M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84578
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|