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: [patch] fix wrong gimple code with ptr to forward vla



On Sep 1, 2006, at 6:29 PM, Andrew Pinski wrote:


On Fri, 2006-09-01 at 14:12 -0700, Dale Johannesen wrote:
fwiw, this is not standard-conforming C99; 6.7.5.2p2 says that members
cannot have VLA types.

So .... We are talking about a GCC extension and I don't see how C99 matters when we are talking about an extension.

What is? VLA isn't, it's in C99. The use as the type of a member is an extension,
but it's not documented to work; all the examples in the manual use variables.
If people agree this ought to work, that's fine, of course (though maybe it should
be so documented).



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