This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch installed to convert generated .c files to ISO C
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: aj at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Jul 2003 10:05:35 -0400 (EDT)
- Subject: Re: Patch installed to convert generated .c files to ISO C
- References: <200307050539.BAA11494@caip.rutgers.edu>
> This is broken, bootstrap fails with your patches on x86_64-linux-gnu:
>
> stage1/xgcc -Bstage1/ -B/opt/gcc/3.4-devel/x86_64-suse-linux-gnu/bin/
> -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Werror
> -DHAVE_CONFIG_H -I. -I. -I/usr/src/aj/cvs/gcc/gcc
> -I/usr/src/aj/cvs/gcc/gcc/. -I/usr/src/aj/cvs/gcc/gcc/config
> -I/usr/src/aj/cvs/gcc/gcc/../include -I../intl -c insn-emit.c \
> -o insn-emit.o
> insn-emit.c: In function `gen_split_1428':
> insn-emit.c:17866: warning: unused parameter `operands'
> insn-emit.c: In function `gen_split_1429':
> insn-emit.c:17880: warning: unused parameter `operands'
>
> I'll commit the appended patch now as obvious to fix this. Bootstrap
> on x86_64-linux-gnu is still going on but I'm at stage2 now, (it
> failed previously at stage1), so everything looks fine.
> Andreas
>
> 2003-07-05 Andreas Jaeger <aj@suse.de>
>
> * genemit.c (gen_split): Readd lost unused attributes in last
> patch.
Thanks and sorry for causing a problem. My testing didn't reveal it
because the `operands' variable is always used in these functions on
sparc.
It figures I'd break things immediately after I voice dissatisfaction
about how much breakage we've had lately...
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu