MIPS: Error: Branch out of range (gcc doesn't bootstrap anymore)
Andreas Jaeger
aj@suse.de
Sun Jun 25 06:11:00 GMT 2000
Compiling the current CVS version on mipsel-linux I get this error:
gcc -c -DIN_GCC -g -W -Wall -Wtraditional -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I../../gcc/gcc -I../../gcc/gcc/config
-I../../gcc/gcc/../include ../../gcc/gcc/fold-const.c -save-temps
../../gcc/gcc/fold-const.c: In function `div_and_round_double':
../../gcc/gcc/fold-const.c:676: warning: comparison between signed and unsigned
../../gcc/gcc/fold-const.c: In function `optimize_bit_field_compare':
../../gcc/gcc/fold-const.c:2936: warning: comparison between signed and unsigned
fold-const.s: Assembler messages:
fold-const.s:26430: Error: Branch out of range
fold-const.s:26468: Error: Branch out of range
fold-const.s:26473: Error: Branch out of range
Line 26430 is:
26430 j $L1334
And the jump target appears in line:
51605 $L1334:
51606 move $sp,$fp
I've put the preprocessed source and the assembler file on
ftp.suse.com/pub/people/aj/ as fold-const.s and fold-const.i.
This breaks with current versions of gcc and gas (gcc 2.96 20000521,
gas from the same day with MIPS patches - but I tried also current CVS
versions of gcc and binutils).
Has anybody an idea how this could be fixed? I'm lost at the moment.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
More information about the Gcc-bugs
mailing list