https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
--- Comment #5 from Jason Merrill ---
Author: jason
Date: Thu Apr 5 18:27:43 2018
New Revision: 259146
URL: https://gcc.gnu.org/viewcvs?rev=259146=gcc=rev
Log:
PR c++/84665 - ICE with array of empty class.
* decl2.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
--- Comment #4 from Jason Merrill ---
Author: jason
Date: Thu Apr 5 16:04:08 2018
New Revision: 259132
URL: https://gcc.gnu.org/viewcvs?rev=259132=gcc=rev
Log:
PR c++/84665 - ICE with array of empty class.
* decl2.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
--- Comment #3 from Jakub Jelinek ---
Related to PR84940.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
--- Comment #2 from Jakub Jelinek ---
We don't ICE with
struct S { int s; } a[1];
but do ICE with e.g.
struct S { constexpr S () {} } a[1];
build_value_init has:
341 /* The AGGR_INIT_EXPR tweaking below breaks in templates. */
342
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P2
Status|UNCONFIRMED