This is the mail archive of the gcc-bugs@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]

Re: c-lang.c nolonger compiles


> 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


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