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

Re: Fix up vla, vm and [*] semantics for C


On May 12, 2006, at 5:29 PM, Neil Booth wrote:
gcc.c-torture/compile/20010605-1.c:7: error: not an ordinary
identifier, structure and unions are not ordinary

This seems a particularly bizarre diagnostic (not unusual in GCC...) IMO structures and unions are quite ordinary. 8-)

Why not simply say members cannot have variably modified type?

Ok, fixed:


gcc.dg/vla-6.c:22: error: a member of a structure or union cannot have a variably modified type

I think that sounds better and still uses language from the standard...


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