PR c++/85285 - ICE with flexible array after substitution.
commit9124107446724fb0a5166f7bba9b2f59b9f3f7d7
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2018 14:23:54 +0000 (10 14:23 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2018 14:23:54 +0000 (10 14:23 +0000)
tree11c92ee0d3e55761dbb1e049267218a19952667d
parent8cbbb14ac2097c6e5b7a0d45ff1622ba553b47c7
PR c++/85285 - ICE with flexible array after substitution.

* pt.c (instantiate_class_template_1): Check for flexible array in
union.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259277 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/flexary30.C [new file with mode: 0644]