c-typeck.c (store_init_value): If initializing object with array type of unknown…
c-typeck.c (store_init_value): If initializing object with array type of unknown size by a compound literal... * 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. * gcc.dg/gnu89-init-1.c: Adjust for the new behaviour, add some additional tests. From-SVN: r48343
Showing
Please
register
or
sign in
to comment