This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083
- From: "hans dot buchmann at fhso dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2004 16:43:03 -0000
- Subject: [Bug c++/13866] New: internal compiler error: in extract_insn, at recog.c:2083
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
compiling the code
# 1 "<built-in>"
# 1 "<command line>"
# 1 "./bug.cc"
class Tester
{
static Tester tester;
unsigned char dst[100];
unsigned char src[100];
Tester();
};
Tester Tester::tester;
Tester::Tester()
{
for(unsigned i=0;i<3;i++)
{
__builtin_memcpy(dst,src,50);
}
}
with
/home/buchmann/cvs/eo3s/tc/bin/arm-elf-g++ -v -save-temps -O3 -c -o
test/mem-move-3.o ./bug.ii
generates the output
Reading specs from /home/buchmann/cvs/arm/gcc-3.4/bin/../lib/gcc/arm-elf/3.4.0/specs
Configured with: /home/buchmann/cvs/dist/gcc-3.4-20040114/configure -v
--prefix=/home/buchmann/cvs/arm/gcc-3.4/ --target=arm-elf
--enable-languages=c,c++ --disable-threads --without-headers --with-newlib
Thread model: single
gcc version 3.4.0 20040114 (experimental)
/home/buchmann/cvs/arm/gcc-3.4/bin/../libexec/gcc/arm-elf/3.4.0/cc1plus
-fpreprocessed ./bug.ii -quiet -dumpbase bug.ii -auxbase-strip test/mem-move-3.o
-O3 -version -o bug.s
GNU C++ version 3.4.0 20040114 (experimental) (arm-elf)
compiled by GNU C version 2.95.1 19990816 (release).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
./bug.cc: In constructor `Tester::Tester()':
./bug.cc:22: error: unrecognizable insn:
(insn:HI 35 34 36 1 (parallel [
(set:SI (reg/f:SI 82 [ this ])
(plus:SI (reg/f:SI 80 [ this ])
(const_int 16 [0x10])))
(set (mem:SI (reg/f:SI 80 [ this ]) [0 S4 A32])
(reg:SI 0 r0))
(set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
(const_int 4 [0x4])) [0 S4 A32])
(reg:SI 1 r1))
(set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
(const_int 8 [0x8])) [0 S4 A32])
(reg:SI 2 r2))
(set (mem:SI (plus:SI (reg/f:SI 80 [ this ])
(const_int 12 [0xc])) [0 S4 A32])
(reg:SI 3 r3))
]) -1 (insn_list 33 (insn_list 34 (insn_list 34 (insn_list 34 (insn_list
34 (nil))))))
(expr_list:REG_DEAD (reg:SI 3 r3)
(expr_list:REG_DEAD (reg:SI 2 r2)
(expr_list:REG_DEAD (reg:SI 1 r1)
(expr_list:REG_DEAD (reg:SI 0 r0)
(expr_list:REG_UNUSED (reg/f:SI 82 [ this ])
(nil)))))))
./bug.cc:22: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal compiler error: in extract_insn, at
recog.c:2083
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hans dot buchmann at fhso dot ch
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13866