This is the mail archive of the gcc-patches@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: Zero-length arrays


On Thu, Jan 04, 2001 at 01:32:57PM -0500, Richard Kenner wrote:
> No, there can be a constructor for the field, but it would have zero
> length.  I ran into this in the Ada library where the initializer for
> this field was a 0-length STRING_CST.

But that's my point.  The front end should strip out the
zero length initializer before it gets to the back end to
be emitted.


r~

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