While bootstrapping gcc-4.0.1 (20050503 pre) for sh-rtems4.7 using a native
vanilla GCC-4.0.0 on FC3:
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-stmaco.ads -o a-stmaco.o
a-stmaco.ads: In function 'Ada.Strings.Maps.Constants._Elabs':
a-stmaco.ads:40: error: unrecognizable insn:
(insn:HI 98 97 99 1 a-stmaco.ads:68 (parallel [
(set (reg:HI 445)
(ashift:HI (reg:HI 446)
(reg:HI 447)))
(clobber (reg:SI 147 t))
]) -1 (insn_list:REG_DEP_TRUE 97 (nil))
(expr_list:REG_DEAD (reg:HI 447)
(expr_list:REG_UNUSED (reg:SI 147 t)
(expr_list:REG_EQUAL (ashift:HI (const_int 1 [0x1])
(reg:HI 447))
(nil)))))
+===========================GNAT BUG DETECTED==============================+
| 4.0.0 (RTEMS gcc-4.0.0-20050503/newlib-1.13.0--0.rc.20050503.1.fc3)
(sh-unknown-rtems4.7) GCC error:|
| in extract_insn, at recog.c:2020 |
| Error detected at a-stmaco.ads:65:4 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:387
make[3]: *** [a-stmaco.o] Error 1
make[3]: Leaving directory
`/users/columbo/src/rpms/BUILD/rtems-4.7-sh-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/ada/rts'
make[2]: *** [gnatlib] Error 2
make[2]: Leaving directory
`/users/columbo/src/rpms/BUILD/rtems-4.7-sh-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/ada'
make[1]: *** [gnatlib-plain] Error 2
make[1]: Leaving directory
`/users/columbo/src/rpms/BUILD/rtems-4.7-sh-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/sh-rtems4.7/liba
da'
make: *** [all-target-libada] Error 2
--
Summary: Error detected at a-stmaco.ads:65:4
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: corsepiu at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,joel at oarcorp dot
com,laurent at guerby dot net
GCC host triplet: i386-*
GCC target triplet: sh-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21377