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: c99 VLA semantics


On Fri, 16 Jun 2006, Mark Mitchell wrote:

> What regression is your patch fixing?

I haven't tested the patch and it was submitted without testcases, but it 
ought to fix

int a;
struct s { void (*f)(int (*)[a]); };

which is wrongly rejected with -std=c99 -pedantic-errors but wasn't 
previously rejected.

-- 
Joseph S. Myers
joseph@codesourcery.com


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