This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c-lang.c nolonger compiles
- To: richard dot earnshaw at arm dot com
- Subject: Re: c-lang.c nolonger compiles
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Wed, 21 Jul 1999 14:29:32 +0100 (BST)
- cc: egcs-bugs at egcs dot cygnus dot com
> 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