re PR c/5597 ([regression from 2.95.3] Initialization of flexible char array member...
authorEric Botcazou <ebotcazou@multimania.com>
Fri, 22 Mar 2002 02:03:46 +0000 (18:03 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 22 Mar 2002 02:03:46 +0000 (18:03 -0800)
commiteba80994397693d6ab3a65a05a05ef743ad76652
tree487636832b303f5c58b5f3e01233b424c5621084
parentbac015e7922ccedbaeab8ab7bef539ddddd93c19
re PR c/5597 ([regression from 2.95.3] Initialization of flexible char array member segfaults)

        PR c/5597
        * c-typeck.c (process_init_element): Flag non-static
        initialization of a flexible array member as illegal.

From-SVN: r51156
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/gcc.dg/array-6.c [new file with mode: 0644]