This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't bootstrap gcc cvs HEAD 20031008 sparc-linux: gcc/function.c:5525: parse error before `int'
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Christian Joensson <christian at j-son dot org>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 8 Oct 2003 15:58:58 +0200
- Subject: Re: Can't bootstrap gcc cvs HEAD 20031008 sparc-linux: gcc/function.c:5525: parse error before `int'
- References: <20031008150722.A13656@fw.j-son.org>
> /usr/local/src/trunk/gcc/gcc/function.c: In function
> `pad_to_arg_alignment': /usr/local/src/trunk/gcc/gcc/function.c:5525:
> parse error before `int' /usr/local/src/trunk/gcc/gcc/function.c:5563:
> `boundary_in_bytes' undeclared (first use in this function)
> /usr/local/src/trunk/gcc/gcc/function.c:5563: (Each undeclared identifier
> is reported only once /usr/local/src/trunk/gcc/gcc/function.c:5563: for
> each function it appears in.) make[2]: *** [function.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
> make: *** [bootstrap-lean] Error 2
Mix of declarations and statements, see:
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00526.html
The patch was clearly not tested at all on SPARC...
--
Eric Botcazou