This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix initialization by compound literal (was Re: [PATCH] Allow compound literals in static storage duration object initializers)
On Thu, Dec 27, 2001 at 06:45:11PM +0100, Jakub Jelinek wrote:
> * c-typeck.c (store_init_value): If initializing object with array
> type of unknown size by a compound literal, set object's size from
> compound literal size.
> * doc/extend.texi (Compound Literals): Adjust documentation.
>
> * gnu89-init-1.c: Adjust for the new behaviour, add some additional
> tests.
Ok.
r~