Is this a bug in gcc??

Nathan Sidwell
Wed Dec 1 13:39:00 GMT 2004

Name lastlong wrote:
> Ok agreed!
> But don't you think that C compiler (gcc) also output
> this error? 
if it did that, it would not be a C compiler.  What part
of 'gcc is a C compiler, where the above is not an error'
was unclear?

> My observation is gcc outputs error only if we try to
> initialise both instant of "a".
again, correct. doing that is an error in C

Nathan Sidwell    ::   ::     CodeSourcery LLC    ::

More information about the Gcc-help mailing list