PR c++/83588 - struct with two flexible arrays causes an internal compiler error
authorMartin Sebor <msebor@redhat.com>
Tue, 16 Jan 2018 03:02:34 +0000 (03:02 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 16 Jan 2018 03:02:34 +0000 (20:02 -0700)
commit66a366a05a39ce91597fe192e3d943efd810eb87
tree599e77f067058b423653166196bcfc9d07867f25
parent75a3c61ae44b7820baf7946c3ddf3632adedcccf
PR c++/83588 - struct with two flexible arrays causes an internal compiler error

gcc/cp/ChangeLog:

PR c++/83588
* class.c (find_flexarrays): Make a record of multiple flexible array
members.

gcc/testsuite/ChangeLog:

PR c++/83588
* g++.dg/ext/flexary28.C: New test.

From-SVN: r256721
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/flexary28.C [new file with mode: 0644]