bootstrap/3364: a29k-coff fails to compile on gcc 3.0 CVS branch
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Jun 23 15:14:00 GMT 2001
> 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
More information about the Gcc-bugs
mailing list