c-lang.c nolonger compiles

Bernd Schmidt bernds@cygnus.co.uk
Sat Jul 31 23:33:00 GMT 1999


> I think this is a side-effect of your change of Tuesday.
> 
> for the arm-semi-aout configuration (or any config that doesn't declare 
> ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR} , c-lang.c no-longer compiles because 
> of an error in finish_file().
> 
> That function declares an auto variable, void_list_node, which happens to 
> clash with a #define in c-common.h.  The #define substitues an array 
> element which makes the declaration illegal.
> 
> I guess the fix is to just change the variable name, but I want to be sure 
> before changing anything.

Yes.  There was a similar problem with objc-act.c, which also declared a
void_list_node variable.  I'm going to commit a fix for this under the
"obvious bugfix" rule.  Sorry about this.

Bernd



More information about the Gcc-bugs mailing list