[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Dec 15 20:20:00 2017 New Revision: 255703 URL: https://gcc.gnu.org/viewcvs?rev=255703=gcc=rev Log: PR c++/80135 PR c++/81922 * typeck2.c (digest_init_r):

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #8 from Jakub Jelinek --- Untested WIP patch attached to PR81922.

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #7 from Jakub Jelinek --- The glibc people should know (or you can try building glibc). That said, I think rejecting structs with flexible array members is unnecessary, e.g. the C FE doesn't reject them either, what we should reject

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #6 from Martin Sebor --- I'll see what I can do. You had some concerns with rejecting this code in bug 78635 comment 9. Presumably you have resolved those to your own satisfaction?

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #5 from Jakub Jelinek --- Can you please find time for that during GCC 8 stage3/stage4?

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 --- Comment #4 from Martin Sebor --- Yes, Jason and I agreed that arrays of structs with flexible array members should be rejected (thus ice-on-invalid-code). It was not my intend to accept this code. I just haven't gotten around to fixing it

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-12-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/80135] [6/7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:4968

2017-07-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135 Richard Biener changed: What|Removed |Added Target Milestone|6.4 |6.5 --- Comment #2 from Richard Biener