[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2017-03-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #11

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #10 from Nathan Sidwell --- On 12/05/2016 03:44 PM, jakub at gcc dot gnu.org wrote: > I thought that such constructs are widely used though, I believe e.g. glibc > used arrays of structs with flexible array members in several places.

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #9 from Jakub Jelinek --- (In reply to Nathan Sidwell from comment #8) > The fix for both bugs is the same -- reject creation of arrays of trailing > array elements. We used to reject initializers for such arrays, then we > silently

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #8 from Nathan Sidwell --- The fix for both bugs is the same -- reject creation of arrays of trailing array elements. We used to reject initializers for such arrays, then we silently accepted them (generating wrong code), now we ICE.

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #7 from Jakub Jelinek --- But this one has been marked as regression, the other PR is not. So, either it needs to be turned into a regression, or this one can't be a dup.

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #5 from Nathan Sidwell --- r231665 lost the diagnostic +2015-12-15 Martin Sebor + + c++/42121 + * tree-chkp.c (chkp_find_bound_slots_1): Handle flexible array + members. + * tree.c (type_contains_placeholde

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 --- Comment #3 from Nathan Sidwell --- r234635 compiles w/o error -- i.e. has already lost the diagnostic Jonathan mentioned. Tracking down when the diag was lost ...

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-02 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989

2016-12-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|