http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49856
Summary: ICE when compiling mktime.c (gnulib, embedded in libvirt) Product: gcc Version: 4.4.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: t...@mirbsd.org Created attachment 24836 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24836 preprocessed source exhibiting the problem tg@zigo:~ $ m68k-linux-gnu-gcc -O2 -c y.i y.i: In function ‘ranged_convert’: y.i:632: internal compiler error: in m68k_sched_issue_rate, at config/m68k/m68k.c:5877 Please submit a full bug report, with preprocessed source if appropriate. tg@zigo:~ $ gdb --args /home/tg/Xg/gcc-4.4-4.4.6/build/gcc/cc1 -fpreprocessed y.i -m68020 -O2 -o y.s (gdb) b fancy_abort Breakpoint 1 at 0x4c1850: file ../../src/gcc/diagnostic.c, line 711. (gdb) frame 1 #1 0x0000000000754f2d in m68k_sched_issue_rate () at ../../src/gcc/config/m68k/m68k.c:5877 5877 gcc_unreachable (); (gdb) list m68k_sched_issue_rate 5860 } 5861 5862 /* Return maximal number of insns that can be scheduled on a single cycle. */ 5863 static int 5864 m68k_sched_issue_rate (void) 5865 { 5866 switch (m68k_sched_cpu) 5867 { 5868 case CPU_CFV1: 5869 case CPU_CFV2: (gdb) 5870 case CPU_CFV3: 5871 return 1; 5872 5873 case CPU_CFV4: 5874 return 2; 5875 5876 default: 5877 gcc_unreachable (); 5878 return 0; 5879 } (gdb) print m68k_sched_cpu $1 = CPU_UNKNOWN