public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/46829] New: ICE: in spill_failure, at reload1.c:2105 with -fschedule-insns -fsched-pressure and variadic function
@ 2010-12-06 20:59 zsojka at seznam dot cz
  2010-12-06 21:53 ` [Bug rtl-optimization/46829] " hjl.tools at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-06 20:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46829

           Summary: ICE: in spill_failure, at reload1.c:2105 with
                    -fschedule-insns -fsched-pressure and variadic
                    function
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 22663
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22663
reduced testcase

Compiler flags:
gcc -O[123] -fschedule-insns -fsched-pressure

Compiler output:
$ gcc -O -fschedule-insns -fsched-pressure pr46829.c 
pr46829.c: In function 'foo':
pr46829.c:15:1: error: unable to find a register to spill in class 'AREG'
pr46829.c:15:1: error: this is the insn:
(insn 16 21 18 4 (parallel [
            (set (reg:SI 37 r8)
                (div:SI (reg:SI 37 r8 [orig:59 D.2694 ] [59])
                    (reg:SI 38 r9 [orig:60 D.2695 ] [60])))
            (set (reg:SI 1 dx [69])
                (mod:SI (reg:SI 37 r8 [orig:59 D.2694 ] [59])
                    (reg:SI 38 r9 [orig:60 D.2695 ] [60])))
            (clobber (reg:CC 17 flags))
        ]) pr46829.c:14 353 {*divmodsi4}
     (expr_list:REG_DEAD (reg:SI 37 r8 [orig:59 D.2694 ] [59])
        (expr_list:REG_UNUSED (reg:SI 1 dx [69])
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
pr46829.c:15:1: internal compiler error: in spill_failure, at reload1.c:2105
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r167471 - crash
4.5.1 - crash


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

end of thread, other threads:[~2012-09-05  8:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 20:59 [Bug rtl-optimization/46829] New: ICE: in spill_failure, at reload1.c:2105 with -fschedule-insns -fsched-pressure and variadic function zsojka at seznam dot cz
2010-12-06 21:53 ` [Bug rtl-optimization/46829] " hjl.tools at gmail dot com
2010-12-06 22:17 ` zsojka at seznam dot cz
2010-12-06 22:41 ` changpeng.fang at amd dot com
2010-12-06 22:52 ` hjl.tools at gmail dot com
2010-12-07 11:22 ` rguenth at gcc dot gnu.org
2010-12-07 17:34 ` zsojka at seznam dot cz
2010-12-07 22:42 ` changpeng.fang at amd dot com
2010-12-07 23:54 ` hjl.tools at gmail dot com
2010-12-09 19:17 ` changpeng.fang at amd dot com
2010-12-10 15:45 ` vmakarov at redhat dot com
2012-08-17 18:39 ` ubizjak at gmail dot com
2012-09-01 14:31 ` uros at gcc dot gnu.org
2012-09-05  8:21 ` [Bug target/46829] " 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).