This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: trouble with porting architecture
On 30-Dec-03, at 12:30 PM, Eric Botcazou wrote:
This is obviously not sufficient to reproduce the problem. You need to
provide a preprocessed testcase, the GCC version, the options passed
to the
compiler and so on (see http://gcc.gnu.org/bugs.html). I'll try to
further
help you, but not before the next week.
Hopefully this'll be of more help... sorry for the previous sparse and
anemic report. :)
What's been discussed on the coco list is to use the direct-page mode,
probably pointing at some predefined area, as an extra set of
registers. I'm not sure if page 0 is free on the CoCo, though.
[james@loki:contiki-coco] % gcc09 -v -save-temps -Wall -Iapps -Ictk
-Iuip -Iconf -I../contiki/apps -I../contiki/ctk -I../contiki/ek
-I../contiki/lib -I../contiki/uip -c ../contiki/ctk/ctk-conio.c
Reading specs from /usr/local/lib/gcc-lib/coco-rsdos/3.1.1/specs
Configured with: ../gcc-3.1.1/configure --target=coco-rsdos
--program-suffix=09 --nfp --enable-obsolete
Thread model: single
gcc version 3.1.1
/usr/local/lib/gcc-lib/coco-rsdos/3.1.1/cpp0 -lang-c -v -Iapps -Ictk
-Iuip -Iconf -I../contiki/apps -I../contiki/ctk -I../contiki/ek
-I../contiki/lib -I../contiki/uip -D__GNUC__=3 -D__GNUC_MINOR__=1
-D__GNUC_PATCHLEVEL__=1 -Dmc6809 -DMC6809 -D__mc6809__ -D__MC6809__
-D__mc6809 -D__MC6809 -D__NO_INLINE__ -D__STDC_HOSTED__=1
../contiki/ctk/ctk-conio.c -Wall ctk-conio.i
GNU CPP version 3.1.1 (cpplib) (MC6809)
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/coco-rsdos/sys-include"
#include "..." search starts here:
#include <...> search starts here:
apps
ctk
uip
conf
../contiki/apps
../contiki/ctk
../contiki/ek
../contiki/lib
../contiki/uip
/usr/local/lib/gcc-lib/coco-rsdos/3.1.1/include
/usr/local/coco-rsdos/include
End of search list.
/usr/local/lib/gcc-lib/coco-rsdos/3.1.1/cc1 -fpreprocessed ctk-conio.i
-quiet -dumpbase ctk-conio.c -Wall -version -o ctk-conio.s
GNU CPP version 3.1.1 (cpplib) (MC6809)
GNU C version 3.1.1 (coco-rsdos)
compiled by GNU C version Apple cpp-precomp 6.14.
../contiki/ctk/ctk-conio.c: In function `ctk_draw_menus':
../contiki/ctk/ctk-conio.c:510: unable to generate reloads for:
(insn 99 98 100 (set (reg:QI 0 d [32])
(minus:QI (reg:QI 33)
(reg:QI 0 d [34]))) 31 {subqi3} (nil)
(expr_list:REG_DEAD (reg:QI 33)
(expr_list:REG_DEAD (reg:QI 0 d [34])
(nil))))
../contiki/ctk/ctk-conio.c:510: Internal compiler error in
find_reloads, at reload.c:3576
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Attachment:
ctk-conio.i
Description: Binary data