public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49927] New: ice in spill_failure, at reload1.c:2120
@ 2011-08-01  4:18 regehr at cs dot utah.edu
  2011-08-01  8:08 ` [Bug rtl-optimization/49927] [4.7 Regression] " ubizjak at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: regehr at cs dot utah.edu @ 2011-08-01  4:18 UTC (permalink / raw)
  To: gcc-bugs

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;
}


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-01 17:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-01  4:18 [Bug c/49927] New: ice in spill_failure, at reload1.c:2120 regehr at cs dot utah.edu
2011-08-01  8:08 ` [Bug rtl-optimization/49927] [4.7 Regression] " ubizjak at gmail dot com
2011-08-01 10:08 ` jakub at gcc dot gnu.org
2011-08-01 10:14 ` jakub at gcc dot gnu.org
2011-08-01 11:34 ` ubizjak at gmail dot com
2011-08-01 12:58 ` ubizjak at gmail dot com
2011-08-01 17:14 ` uros at gcc dot gnu.org
2011-08-01 17:16 ` [Bug target/49927] " ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).