This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Zero-length arrays
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Zero-length arrays
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 4 Jan 2001 10:30:58 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10101041816.AA10860@vlsi1.ultra.nyu.edu>
On Thu, Jan 04, 2001 at 01:16:11PM -0500, Richard Kenner wrote:
> I suppose, but the issue is that a zero-length field is ambiguous. It could
> actually *be* zero length or it could be extendable.
I don't think it is ambiguous. Either it is extendable, or it is not
initialized at all. There's your front end bit -- the mere existance
of a constructor for the field.
r~