From mboxrd@z Thu Jan 1 00:00:00 1970 From: klaus.k.pedersen@nokia.com To: gcc-gnats@gcc.gnu.org Subject: bootstrap/3479: gcc 3.0 ICE on arm multilib target Date: Fri, 29 Jun 2001 08:16:00 -0000 Message-id: <20010629151325.23305.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg01181.html List-Id: >Number: 3479 >Category: bootstrap >Synopsis: gcc 3.0 ICE on arm multilib target >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Jun 29 08:16:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Klaus Pedersen >Release: gcc-3.0 >Organization: >Environment: HPUX 11. gcc 2.95.3 >Description: Gcc 3.0, with patch from PR 3147, configured for arm and multilib, aborts with a ICE, when building the thumb libs. With binutils onfigured as: ../binutils-2.11.2/configure --prefix=/opt/net/cygnus/arm-elf-gcc --target=arm-elf --nfp and gcc-3.0 configured as: ../gcc-3.0/configure --prefix=/opt/net/cygnus/arm-elf-gcc --target=arm-elf --nfp --enable-multilib --with-gas --with-as=/opt/net/cygnus/arm-elf-gcc/bin/arm-elf-as --with-gnu-ld --with-ld=/opt/net/cygnus/arm-elf-gcc/bin/arm-elf-ld --enable-target-optspace --enable-languages=c,c++ Gives ICE on: /opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/xgcc -B/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/bin/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/lib/ -isystem /opt/net/cygnus/arm-elf-gcc/arm-elf/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -Dinhibit_libc -fno-inline -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include -mthumb -DL_muldi3 -c ../../gcc-3.0/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o This is the output from that command: ../../gcc-3.0/gcc/libgcc2.c: In function `__muldi3': ../../gcc-3.0/gcc/libgcc2.c:368: Could not split insn (insn 169 126 72 (set (reg:SI 2 r2) (const_int 65536 [0x10000])) 176 {*thumb_movsi_insn} (nil) (nil)) ../../gcc-3.0/gcc/libgcc2.c:368: Internal compiler error in final_scan_insn, at final.c:2950 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[2]: *** [libgcc/thumb/_muldi3.o] Error 1 gmake[2]: Leaving directory `/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc' gmake[1]: *** [stmp-multilib] Error 2 gmake[1]: Leaving directory `/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc' gmake: *** [all-gcc] Error 2 >How-To-Repeat: Configure gcc as described about, and execute this from your config directory You can reproduce it by executing the following from the BUILD/gcc. /opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/xgcc -B/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/bin/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/lib/ -isystem /opt/net/cygnus/arm-elf-gcc/arm-elf/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -Dinhibit_libc -fno-inline -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include -mthumb -DL_muldi3 -c ../../gcc-3.0/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o >Fix: Currently no known workarounds. >Release-Note: >Audit-Trail: >Unformatted: