c-typeck.c (output_init_element): Allow initializing static storage duration objects...
authorJakub Jelinek <jakub@redhat.com>
Wed, 2 Jan 2002 23:43:24 +0000 (00:43 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 2 Jan 2002 23:43:24 +0000 (00:43 +0100)
commite6ecc89b1ffe1e13ba75daab525fbd29dabc6238
tree45c3c1402dd4695cdcbc7dfd3f01629f6e676c30
parentd1094b40dd9f323880a6ccd3e30a2f0a0c2a6766
c-typeck.c (output_init_element): Allow initializing static storage duration objects with compound literals.

* c-typeck.c (output_init_element): Allow initializing static storage
duration objects with compound literals.

* gcc.dg/gnu89-init-1.c: Added new tests.

From-SVN: r48487
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gnu89-init-1.c