Hi All,
Ok talking to one's self again,
removing fold-const.c from the mspgcc project and using the one from gcc-3.4.3 fixes the
last problem I had.
Now I have a problem with
[peter_...@sts-43454 msp]$ msp430-gcc -mmcu=msp430x149 main.i -o main.o -v
Reading specs from /usr/local/lib/gcc/msp430/3.4.3/specs
Configured with: ../gcc-3.4.3-msp/configure --target=msp430
Thread model: single
gcc version 3.4.3
/usr/local/libexec/gcc/msp430/3.4.3/cc1 -fpreprocessed main.i -quiet -dumpbase main.i
-mmcu=msp430x149 -auxbase main -version -o /tmp/ccv1k1dF.s
GNU C version 3.4.3 (msp430)
compiled by GNU C version 3.3.3 20040412 (Red Hat Linux 3.3.3-7).
GGC heuristics: --param ggc-min-expand=81 --param ggc-min-heapsize=97132
get_highpart :: mode 5 x 0xf6e75f60 mode 0
subreg_highpart_offset :: innermode 0 size 0 outermode 5 size 2
blbl/argosSeimac/main.c: In function `main':
blbl/argosSeimac/main.c:282: internal compiler error: in subreg_highpart_offset, at
emit-rtl.c:1333
Compiler output with some printf's I had put in, the problem seems to be that in
gcc/emit-rtl.c::subreg_highpart_offset function the outermode > innermode causing the
abort, anyone got any ideas what is going on here?
From the backtrace this is called by gen_highpart (something to do with complex numbers
in the comment, but I'm not using any complex numbers).
Regards,
--
Peter Jansen
STS
Australian Antarctic Division