]> git.ipfire.org Git - thirdparty/gcc.git/commit
* c-typeck.c (digest_init): Allow initializing
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Dec 2001 19:12:16 +0000 (19:12 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Dec 2001 19:12:16 +0000 (19:12 +0000)
commit4619fc1556ec08218e75d70eb64d0eaad1e356e1
tree52579c466b178af3b34b3b7f1c35b83542ee7516
parent183b00a053d0b3b1b7faea6f4d629fc870ed13a4
* c-typeck.c (digest_init): Allow initializing
static storage duration objects with compound literals.
* doc/extend.texi (Compound literals): Document the extension.

* gcc.dg/gnu89-init-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gnu89-init-1.c [new file with mode: 0644]