https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85285

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 10 14:23:54 2018
New Revision: 259277

URL: https://gcc.gnu.org/viewcvs?rev=259277&root=gcc&view=rev
Log:
        PR c++/85285 - ICE with flexible array after substitution.

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

Added:
    trunk/gcc/testsuite/g++.dg/ext/flexary30.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Reply via email to