This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Treelang fixes committed
- From: Tim Josling <tej at melbpc dot org dot au>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 01 Mar 2003 21:56:54 +1100
- Subject: Re: Treelang fixes committed
- Organization: Melbourne PC User Group
- References: <3E6013CB.59590408@melbpc.org.au> <u8fzq77fna.fsf@gromit.moeb>
I am also on i686-pc-linux-gnu and it is working for me... (changed treetree.c
and then make quickstrap).
What version of bison are you using? Maybe it's defining the symbols as enums
now - that would do it. On my system the symbols are harmlessly defined as
#define PLUS 999 etc.
None of this changed in the last commit.
However I will change the symbols so they do not clash and recommit.
Tim Josling
Andreas Jaeger wrote:
>
> Tim Josling <tej at melbpc dot org dot au> writes:
>
> > I posted the patch a few days ago, just committed it now,
>
> Not a good idea, bootstrap fails with current CVS now on
> i686-linux-gnu:
> > In file included from /cvs/gcc/gcc/treelang/treetree.c:76:
> /cvs/gcc/gcc/treelang/parse.h:46: error: conflicting types for `PLUS'
> /cvs/gcc/gcc/rtl.def:928: error: previous declaration of `PLUS'
> /cvs/gcc/gcc/treelang/parse.h:47: error: conflicting types for `MINUS'
> /cvs/gcc/gcc/rtl.def:931: error: previous declaration of `MINUS'
> /cvs/gcc/gcc/treelang/parse.h:51: error: conflicting types for `RETURN'
> /cvs/gcc/gcc/rtl.def:761: error: previous declaration of `RETURN'
>