This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18039] New: ICE w/ -O3
- From: "ralf_corsepius at rtems dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2004 09:07:36 -0000
- Subject: [Bug target/18039] New: ICE w/ -O3
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following ICE occurs for gcc-3.4.3pre when using -O3. It does not occur with
-O2 or below:
# avr-rtems4.7-gcc -v -Wall -O3 -otmp.o -c ata.i
Reading specs from /opt/rtems-4.7/lib/gcc/avr-rtems4.7/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/opt/rtems-4.7
--mandir=/opt/rtems-4.7/man --infodir=/opt/rtems-4.7/info
--build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=avr-rtems4.7
--with-gnu-as --with-gnu-ld --with-newlib --verbose --with-system-zlib
--disable-nls --enable-version-specific-runtime-libs --enable-threads=rtems
--enable-languages=c
Thread model: rtems
gcc version 3.4.3 20040922 (prerelease)
/opt/rtems-4.7/libexec/gcc/avr-rtems4.7/3.4.3/cc1 -fpreprocessed ata.i -quiet
-dumpbase ata.i -auxbase-strip tmp.o -O3 -Wall -version -o /tmp/cczrnjtd.s
GNU C version 3.4.3 20040922 (prerelease) (avr-rtems4.7)
compiled by GNU C version 3.3.3 20040412 (Red Hat Linux 3.3.3-7).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64478
ata.i: In function `ata_initialize':
ata.i:25: error: unrecognizable insn:
(insn 78 77 83 0 (parallel [
(set (mem:BLK (reg/f:HI 46) [0 A8])
(const_int 0 [0x0]))
(use (reg:QI 45))
(use (const_int 1 [0x1]))
(clobber (reg:QI 55))
(clobber (reg/f:HI 54))
]) -1 (insn_list 76 (insn_list 77 (nil)))
(expr_list:REG_UNUSED (reg/f:HI 54)
(expr_list:REG_UNUSED (reg:QI 55)
(nil))))
ata.i:25: 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.
[avr-rtems* is basically identical to GCC's standard bare avr target, except
that it is build against newlib. I'd expect this bug to be reproducable with
other avr-targets]
--
Summary: ICE w/ -O3
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ralf_corsepius at rtems dot org
CC: gcc-bugs at gcc dot gnu dot org,joel at oarcorp dot com
GCC target triplet: avr-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18039