This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: host_integerp vs [] decls
On Wed, Sep 19, 2001 at 09:10:02PM -0400, DJ Delorie wrote:
> * c-typeck.c (really_start_incremental_init): Discriminate
> between zero-length arrays and flexible arrays.
> (push_init_level): Detect zero-length arrays and handle them
> like fixed-sized arrays.
> * expr.c (store_constructor): Handle zero-length arrays and
> flexible arrays correctly.
> * doc/extend.texi: Update zero-length array notes.
Ok, except,
> * gcc.dg/array-4.c: Likewise, and don't verify the zero-length
> array.
Just delete the zero-length bits here.
r~