Declarations after statements in front ends
Andrew Pinski
pinskia@physics.uc.edu
Thu Oct 21 00:49:00 GMT 2004
On Oct 20, 2004, at 6:50 PM, Robert Dewar wrote:
> Zack Weinberg wrote:
>
>> I would go even farther, and say that *all* front ends must be coded
>> in ISO C90, and we should be compiling everything with -pedantic.
>
> I don't see the need for this restriction. It seems to me that only
> the C compiler need obey this rule. I see no reason why other front
> ends cannot use GNU C extensions. So Zack, can you give your
> reasoning here. To me, the restriction in non-C front ends seems
> unnecessary and unhelpful.
This extension is not implemented in gcc 2.95.3 so compiling
a cross compiler will not work any more.
-- Pinski
More information about the Gcc
mailing list