http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46856
Summary: [4.6 regression] internal compiler error in final_scan_insn breaks m68k-linux bootstrap Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: mi...@it.uu.se Attempting to bootstrap gcc-4.6-20101204 natively on m68k-linux fails with: /mnt/scratch/objdir46/./prev-gcc/xgcc -B/mnt/scratch/objdir46/./prev-gcc/ -B/mnt/scratch/crap/m68k-unknown-linux-gnu/bin/ -B/mnt/scratch/crap/m68k-unknown-linux-gnu/bin/ -B/mnt/scratch/crap/m68k-unknown-linux-gnu/lib/ -isystem /mnt/scratch/crap/m68k-unknown-linux-gnu/include -isystem /mnt/scratch/crap/m68k-unknown-linux-gnu/sys-include -c -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I/mnt/scratch/gcc-4.6-20101204/gcc -I/mnt/scratch/gcc-4.6-20101204/gcc/. -I/mnt/scratch/gcc-4.6-20101204/gcc/../include -I/mnt/scratch/gcc-4.6-20101204/gcc/../libcpp/include -I/home/mikpe/pkgs/linux-m68k/gmp-4.3.2/include -I/home/mikpe/pkgs/linux-m68k/mpfr-2.4.2/include -I/home/mikpe/pkgs/linux-m68k/mpc-0.8.2/include -I/mnt/scratch/gcc-4.6-20101204/gcc/../libdecnumber -I/mnt/scratch/gcc-4.6-20101204/gcc/../libdecnumber/dpd -I../libdecnumber /mnt/scratch/gcc-4.6-20101204/gcc/haifa-sched.c -o haifa-sched.o /mnt/scratch/gcc-4.6-20101204/gcc/haifa-sched.c: In function 'rank_for_schedule': /mnt/scratch/gcc-4.6-20101204/gcc/haifa-sched.c:1293:1: internal compiler error: in final_scan_insn, at final.c:2608 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [haifa-sched.o] Error 1 make[3]: Leaving directory `/mnt/scratch/objdir46/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/mnt/scratch/objdir46' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/mnt/scratch/objdir46' make: *** [bootstrap] Error 2 Current gcc-4.4 and 4.5 do bootstrap on this machine so this is a regression. I'll attach a reduced test case that ICEs a cross to m68k-linux.