This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17717] New: SH4 internal compiler error: in emit_move_insn
- From: "dennisc at harding dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2004 19:32:08 -0000
- Subject: [Bug c/17717] New: SH4 internal compiler error: in emit_move_insn
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am getting an internal compiler error reported when cross compiling two C
source files for an SH4 target. These source files compile and work correctly
when compiled natively for the build host.
I modified my makefile to dump the requested version info and copied all the
requested output for these two files below. I have the preprocessed input files
as well, but its is not obvious how these are supposed to be attached to this
bug report. I will attach the two compressed files if I figure it out.
$ make libsqlite3.a
sh-elf-gcc -v -O2 -ml -m4 -mrenesas -save-temps -DTHREADSAFE=1 -I.
-I../sqlite/src -c ../sqlite/src/expr.c
Reading specs from c:/GCC/xgcc/sh-elf/bin/../lib/gcc/sh-elf/3.4.0/specs
Configured with: ../../gcc-3.4.0-20040501-1/configure --enable-languages=c,c++
--disable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs
--disable-shared --disable-threads --disable-win32-registry --disable-nls
--target=sh-elf --with-newlib --prefix=c:/gcc/xgcc/sh-elf -v
Thread model: single
gcc version 3.4.0 (mingw special)
c:/GCC/xgcc/sh-elf/bin/../libexec/gcc/sh-elf/3.4.0/cc1.exe -E -quiet -v -I.
-I../sqlite/src -iprefix c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/
-DTHREADSAFE=1 ../sqlite/src/expr.c -ml -m4 -mrenesas -O2 -o expr.i
ignoring nonexistent directory
"c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/../../../../sh-elf/sys-include"
ignoring nonexistent directory
"c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/../../../../sh-elf/sys-include"
#include "..." search starts here:
#include <...> search starts here:
.
../sqlite/src
c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/include
c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/../../../../sh-elf/include
c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/include
c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/../../../../sh-elf/include
End of search list.
c:/GCC/xgcc/sh-elf/bin/../libexec/gcc/sh-elf/3.4.0/cc1.exe -fpreprocessed
expr.i -quiet -dumpbase expr.c -ml -m4 -mrenesas -auxbase expr -O2 -version -o
expr.s
GNU C version 3.4.0 (mingw special) (sh-elf)
compiled by GNU C version 3.2.3 (mingw special 20030504-1).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65476
../sqlite/src/expr.c: In function `sqlite3ExprCode':
../sqlite/src/expr.c:1368: internal compiler error: in emit_move_insn, at
expr.c:2809
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [expr.o] Error 1
$ make libsqlite3.a
sh-elf-gcc -v -O2 -ml -m4 -mrenesas -save-temps -DTHREADSAFE=1 -I.
-I../sqlite/src -c ../sqlite/src/select.c
Reading specs from c:/GCC/xgcc/sh-elf/bin/../lib/gcc/sh-elf/3.4.0/specs
Configured with: ../../gcc-3.4.0-20040501-1/configure --enable-languages=c,c++
--disable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs
--disable-shared --disable-threads --disable-win32-registry --disable-nls
--target=sh-elf --with-newlib --prefix=c:/gcc/xgcc/sh-elf -v
Thread model: single
gcc version 3.4.0 (mingw special)
c:/GCC/xgcc/sh-elf/bin/../libexec/gcc/sh-elf/3.4.0/cc1.exe -E -quiet -v -I.
-I../sqlite/src -iprefix c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/
-DTHREADSAFE=1 ../sqlite/src/select.c -ml -m4 -mrenesas -O2 -o select.i
ignoring nonexistent directory
"c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/../../../../sh-elf/sys-include"
ignoring nonexistent directory
"c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/../../../../sh-elf/sys-include"
#include "..." search starts here:
#include <...> search starts here:
.
../sqlite/src
c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/include
c:\GCC\xgcc\sh-elf\bin\../lib/gcc/sh-elf/3.4.0/../../../../sh-elf/include
c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/include
c:/gcc/xgcc/sh-elf/lib/gcc/sh-elf/3.4.0/../../../../sh-elf/include
End of search list.
c:/GCC/xgcc/sh-elf/bin/../libexec/gcc/sh-elf/3.4.0/cc1.exe -fpreprocessed
select.i -quiet -dumpbase select.c -ml -m4 -mrenesas -auxbase select -O2
-version -o select.s
GNU C version 3.4.0 (mingw special) (sh-elf)
compiled by GNU C version 3.2.3 (mingw special 20030504-1).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65476
../sqlite/src/select.c: In function `selectInnerLoop':
../sqlite/src/select.c:483: internal compiler error: in emit_move_insn, at
expr.c:2809
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [select.o] Error 1
--
Summary: SH4 internal compiler error: in emit_move_insn
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dennisc at harding dot ca
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: sh4-unknown-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17717