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]
Other format: [Raw text]

Re: C99 conformance bug in gcc-3.1


On Fri, May 31, 2002 at 09:06:13PM +1000, Fergus Henderson wrote:
> Well, those are differences in legality (and diagnostics),
> not differences in behaviour.  Each different syntax
> may give you a different subset of the available features,
> but in cases where both are legal, the result is the same.

Yes and no.  The two cases are definitely distinguished within
the compiler all the way though.  For instance, sizeof applies
to a zero-length-array, but not to a flexible array member.


r~


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