[Bug c++/78635] [6/7 Regression] internal compiler error: in output_constructor_regular_field, at varasm.c:4989
nathan at acm dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 5 20:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78635
--- Comment #10 from Nathan Sidwell <nathan at acm dot org> ---
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. Maybe it
> has changed, I've lost track. So, before changing anything like that we'd need
> to make sure e.g. glibc still builds.
Remarkable. I wonder what meaning such code is expected to have.
Anyway, I've noted on bug 68489. I guess we want both C & C++ modes to
agree whether such array types are meaningful.
nathan
More information about the Gcc-bugs
mailing list