[Bug target/17303] [3.4] bootstrap failure sh4-unknown-linux-gnu
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 3 06:22:00 GMT 2004
------- Additional Comments From mark at codesourcery dot com 2004-09-03 06:22 -------
Subject: Re: New: [3.4] bootstrap failure sh4-unknown-linux-gnu
kkojima at gcc dot gnu dot org wrote:
>gcc 3.4.2 RC2 fails to bootstrap on sh4-unknown-linux-gnu with:
>
>stage2/xgcc -Bstage2/ -B/usr/gnu/sh4-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
>-Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -I. -I.
>-I../../gcc-3.4.2-20040902/gcc -I../../gcc-3.4.2-20040902/gcc/.
>-I../../gcc-3.4.2-20040902/gcc/../include ../../gcc-3.4.2-20040902/gcc/gcse.c
>-o gcse.o
>../../gcc-3.4.2-20040902/gcc/gcse.c: In function `store_motion':
>../../gcc-3.4.2-20040902/gcc/gcse.c:8008: internal compiler error: Illegal
>instruction
>
>The problematic illegal instruction is a branch instruction in a delayed
>slot. gdb shows:
>
>Program received signal SIGILL, Illegal instruction.
>0x006982ca in mark_referenced_regs (x=0x2a1c0d50)
> at ../../gcc-3.4.2-20040902/gcc/caller-save.c:598
>598 int nregs = HARD_REGNO_NREGS (hardregno, GET_MODE (x));
>(gdb) disas $pc $pc+4
>Dump of assembler code from 0x6982ca to 0x6982ce:
>0x006982ca <mark_referenced_regs+1066>: bf.s 0x6982d0 <mark_referenced_regs+1072>
>0x006982cc <mark_referenced_regs+1068>: bra 0x6981d8 <mark_referenced_regs+824>
>End of assembler dump.
>
>and it looks the same problem reported with
>http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01713.html
>for mainline.
>The patch in the above URL was approved by Joern and applied on mainline
>already and fixes this bootstrap failure of 3.4.2 RC2.
>
>
OK for 3.4.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17303
More information about the Gcc-bugs
mailing list