This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26689] New: internal compiler error, avr-gcc
- From: "slansky at usa dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2006 09:04:01 -0000
- Subject: [Bug c/26689] New: internal compiler error, avr-gcc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/var/abs/base/gcc/src/gcc-3.3.6/obj-avr/gcc/xgcc
-B/var/abs/base/gcc/src/gcc-3.3.6/obj-avr/gcc/ -B/usr/local/avr/avr/bin/
-B/usr/local/avr/avr/lib/ -isystem /usr/local/avr/avr/include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -DDF=SF -Dinhibit_libc
-mcall-prologues -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include
-DL_udivmoddi4 -c ../../gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o
libgcc/./_udivmoddi4.o
../../gcc/libgcc2.c: In function `__udivmoddi4':
../../gcc/libgcc2.c:731: error: insn does not satisfy its constraints:
(insn 1006 1005 1007 0xb7fdc604 (set (mem:QI (plus:HI (reg:HI 26 r26 [30])
(const_int 1 [0x1])) [2 S1 A8])
(reg:QI 24 r24 [268])) 9 {*movqi} (insn_list 1005 (insn_list 1435
(nil)))
(expr_list:REG_DEAD (reg:QI 24 r24 [268])
(nil)))
../../gcc/libgcc2.c:731: internal compiler error: in
extract_constrain_insn_cached, at recog.c:2090
Please submit a full bug report,
with preprocessed source if appropriate.
I tried to build avr-gcc on Arch linux current as described in this artickle:
http://www.tldp.org/linuxfocus/English/November2004/article352.shtml
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.3/configure --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --prefix=/usr --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 4.0.3
$ abs
$ cd /var/abs/base/gcc/
$ makepkg
$ cd /var/abs/base/gcc/src/
$ make dist-clean
$ mkdir obj-avr
$ cd /var/abs/base/gcc/src/gcc-3.3.6/obj-avr
$ ../configure --target=avr --prefix=/usr/local/avr --disable-nls
--enable-language=c
$ make
--
Summary: internal compiler error, avr-gcc
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: slansky at usa dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26689