Bug 37942

Summary: [4.4/4.5/4.6 Regression] FAIL: gcc.c-torture/compile/930618-1.c
Product: gcc Reporter: Eric Weddington <eric.weddington>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Severity: normal CC: gcc-bugs, steven
Priority: P4    
Version: 4.4.0   
Target Milestone: 4.6.0   
Host: Target: avr-*-*
Build: Known to work:
Known to fail: Last reconfirmed:

Description Eric Weddington 2008-10-28 19:47:15 UTC
FAIL: gcc.c-torture/compile/930618-1.c for -O[23s]:

/usr/local/avrdev/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930618-1.c: In function 'f':

/usr/local/avrdev/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930618-1.c:8: error: unable to find a register to spill in class 'POINTER_REGS'

/usr/local/avrdev/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930618-1.c:8: error: this is the insn:

(insn 369 368 370 2 /usr/local/avrdev/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930618-1.c:5 (set (reg:QI 26 r26)

        (mem/c:QI (plus:HI (reg/f:HI 28 r28)

                (const_int 11 [0xb])) [3 S1 A8])) 4 {*movqi} (nil))

/usr/local/avrdev/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/930618-1.c:8: internal compiler error: in spill_failure, at reload1.c:2093

Known success on trunk revision 141361.
Known failure on trunk revision 141397.
Comment 1 Steven Bosscher 2011-03-05 00:36:39 UTC
Does not look like this bug exists in GCC 4.6:
Comment 2 Eric Weddington 2011-03-05 01:10:07 UTC
I'll go ahead and mark this as fixed for 4.6.0.