http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47481
Summary: i386-rtems* Ada ICE at reload1.c:2105
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
This is definitely a regression since 4.5.2.
/users/joel/test-gcc/b-gccada-i386/./gcc/xgcc
-B/users/joel/test-gcc/b-gccada-i386/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-gccada-i386/i386-rtems4.11/newlib/ -isystem
/users/joel/test-gcc/b-gccada-i386/i386-rtems4.11/newlib/targ-include -isystem
/users/joel/test-gcc/gcc-svn/newlib/libc/include
-B/users/joel/test-gcc/install-svn/i386-rtems4.11/bin/
-B/users/joel/test-gcc/install-svn/i386-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-svn/i386-rtems4.11/include -isystem
/users/joel/test-gcc/install-svn/i386-rtems4.11/sys-include -c -g -O2
-msoft-float -W -Wall -gnatpg -msoft-float a-tiunio.ads -o a-tiunio.o
make[6]: *** [a-nllefu.o] Error 1
make[6]: *** Waiting for unfinished jobs....
a-ngelfu.adb: In function
'Ada.Numerics.Long_Long_Complex_Elementary_Functions.Elementary_Functions.Cos.2xnn':
a-ngelfu.adb:533:8: error: unable to find a register to spill in class 'CREG'
a-ngelfu.adb:533:8: error: this is the insn:
(insn 22 18 23 2 (parallel [
(set (reg:SI 74)
(const_int 0 [0]))
(set (reg:SI 6 bp [72])
(plus:SI (ashift:SI (reg:SI 74)
(const_int 2 [0x2]))
(reg:SI 6 bp [72])))
(set (reg:SI 3 bx [73])
(plus:SI (ashift:SI (reg:SI 74)
(const_int 2 [0x2]))
(reg:SI 3 bx [73])))
(set (mem:BLK (reg:SI 6 bp [72]) [0 S12 A8])
(mem/c:BLK (reg:SI 3 bx [73]) [0 S12 A128]))
(use (reg:SI 74))
]) a-ngelfu.adb:532 677 {*rep_movsi}
(expr_list:REG_UNUSED (reg:SI 74)
(expr_list:REG_UNUSED (reg:SI 3 bx [73])
(expr_list:REG_UNUSED (reg:SI 6 bp [72])
(nil)))))
+===========================GNAT BUG DETECTED==============================+
| 4.6.0 20110126 (experimental) [trunk revision 169296] (i386-pc-rtems4.11) GCC
error:|
| in spill_failure, at reload1.c:2105 |
| Error detected around a-ngelfu.adb:533:8 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Use a subject line meaningful to you and us to track the bug. |
| 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). |
+==========================================================================+