$ m68k-linux-gcc -v -m5307 -msep-data -O1 -c gcc-m68k-ice.c Using built-in specs. Target: m68k-linux Configured with: ../gcc-4.3-20061202/configure --prefix=/home/ssoe/tmp/m68k --target m68k-linux --disable-shared --disable-threads --enable-languages=c --with-headers=/home/ssoe/tmp/m68k/m68k-linux/include Thread model: single gcc version 4.3.0 20061202 (experimental) /home/ssoe/tmp/m68k/libexec/gcc/m68k-linux/4.3.0/cc1 -quiet -v -D__HAVE_68881__ gcc-m68k-ice.c -quiet -dumpbase gcc-m68k-ice.c -m5307 -msep-data -auxbase gcc-m68k-ice -O1 -version -o /tmp/cchI2eF1.s #include "..." search starts here: #include <...> search starts here: /home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/include
/home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/../../../../m68k-linux/sys-include /home/ssoe/tmp/m68k/lib/gcc/m68k-linux/4.3.0/../../../../m68k-linux/include End of search list. GNU C version 4.3.0 20061202 (experimental) (m68k-linux) compiled by GNU C version 4.1.1 20061011 (Red Hat 4.1.1-30). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: c0f3be0098cca37cfe39087e559a1e7c gcc-m68k-ice.c: In function f: gcc-m68k-ice.c:28: error: insn does not satisfy its constraints: (insn 81 205 207 9 (parallel [ (set (reg:SI 2 %d2) (div:SI (reg:SI 2 %d2) (mem/c:SI (plus:SI (reg/f:SI 14 %a6) (reg:SI 9 %a1)) [0 column_width+0 S4 A8]))) (set (reg:SI 0 %d0 [80]) (mod:SI (reg:SI 2 %d2) (mem/c:SI (plus:SI (reg/f:SI 14 %a6) (reg:SI 9 %a1)) [0 column_width+0 S4 A8]))) ]) 228 {*m68k.md:3000} (nil) (nil)) gcc-m68k-ice.c:28: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 If any of the options -m5307, -msep-data, or -O1 is removed, the problem goes away. Reproduced on 4.1.1, 4.1-20061124, 4.2-20061128, 4.3-20061202. Couldn't reproduce ICE on 3.4.6, but it could be generating incorrect code (no solid evidence of that though). -- Summary: ICE in reload_cse_simplify_operands, at postreload.c:393 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ssoe at kirktelecom dot com GCC build triplet: i686-redhat-linux-gnu GCC host triplet: i686-redhat-linux-gnu GCC target triplet: m68k-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30064