This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49927] New: ice in spill_failure, at reload1.c:2120
- From: "regehr at cs dot utah.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 1 Aug 2011 04:17:51 +0000
- Subject: [Bug c/49927] New: ice in spill_failure, at reload1.c:2120
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49927
Summary: ice in spill_failure, at reload1.c:2120
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: regehr@cs.utah.edu
regehr@home:~/volatile/bugs/tmp040$ current-gcc -c -O0 small.c
small.c: In function âfunc_7â:
small.c:8:1: error: unable to find a register to spill in class âQ_REGSâ
small.c:8:1: error: this is the insn:
(insn 9 8 10 2 (set (mem/s/j:QI (plus:SI (plus:SI (subreg:SI (reg:DI 60 [
g_91.1 ]) 0)
(subreg:SI (reg:DI 59 [ g_91.0 ]) 0))
(symbol_ref:SI ("g_73") <var_decl 0xb72f9720 g_73>)) [0 g_73 S1
A8])
(reg:QI 4 si [orig:62 D.1999 ] [62])) small.c:6 52 {*movqi_internal}
(expr_list:REG_DEAD (reg:QI 4 si [orig:62 D.1999 ] [62])
(expr_list:REG_DEAD (reg:DI 60 [ g_91.1 ])
(expr_list:REG_DEAD (reg:DI 59 [ g_91.0 ])
(nil)))))
small.c:8:1: internal compiler error: in spill_failure, at reload1.c:2120
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
regehr@home:~/volatile/bugs/tmp040$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/mnt/z/z/compiler-install/gcc-r176994-install/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/mnt/z/z/compiler-install/gcc-r176994-install
--program-prefix=r176994- --enable-languages=c,c++
Thread model: posix
gcc version 4.7.0 20110801 (experimental) (GCC)
regehr@home:~/volatile/bugs/tmp040$ cat small.c
char g_73[1][1];
long long g_91;
int *
func_7 (int p_11, int p_12)
{
--g_73[g_91][g_91];
return 0;
}