This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: host_integerp vs [] decls


On Fri, Sep 14, 2001 at 09:33:14PM -0400, DJ Delorie wrote:
> 	* expr.c (store_constructor): Handle empty arrays.

Err, incidentally, the original test case

  int a[][0] = {{1}};

is bogus.  This should be handled in the same way that

  int a[][1] = {{1,2}};

is rejected.  The only initializer case that might
be allowable is

  int a[][0] = {{}};


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]