This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/3364: a29k-coff fails to compile on gcc 3.0 CVS branch
- To: joel at gcc dot gnu dot org
- Subject: Re: bootstrap/3364: a29k-coff fails to compile on gcc 3.0 CVS branch
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sat, 23 Jun 2001 18:14:22 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
> gcc -c -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
> -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include
> ../../gcc/gcc/config/a29k/a29k.c -o a29k.o
> ../../gcc/gcc/config/a29k/a29k.c:43: conflicting types for
> `shift_constant_operand'
> insn-codes.h:133: previous declaration of `shift_constant_operand'
I suspect you'll want to bring over this patch from the trunk.
> 2001-03-07 Andrew MacLeod <amacleod@redhat.com>
>
> * config/a29k/a29k.c (print_operand): Free a29k_last_prologue_insn
> after its emitted.
> (output_prologue): Use xmalloc not oballoc.
> (output_epilog): Free a29k_first_epilogue_insn when finished.
> * confif/a29k/a29k.h (PREDICATE_CODES): Remove shift_constant_operand.
IIRC, gencodes has been putting prototypes for predicates into
insn-codes.h since early January, so a29k has been broken for at least
six months! Tsk tsk to whoever cares about this platform... :-)
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions