public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16482] New: gcc.c-torture/unsorted/SFset.c fails with "-O2 -m4"
@ 2004-07-11 23:26 kkojima at gcc dot gnu dot org
  2004-07-11 23:32 ` [Bug target/16482] " kkojima at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-07-11 23:26 UTC (permalink / raw)
  To: gcc-bugs

The following part of gcc.c-torture/unsorted/SFset.c:

int glob1;
 
adrreg0limm1_set (float *p0)
{
  p0[10000000] = (float) glob1;
}

causes a spill failure for sh-elf on 3.5 with -m4 -O2:

/exp/ldroot/dodes/LOCAL/gcc/gcc/testsuite/gcc.c-torture/unsorted/SFset.c: In
function `adrreg0limm1_set':
/exp/ldroot/dodes/LOCAL/gcc/gcc/testsuite/gcc.c-torture/unsorted/SFset.c:135:
error: unable to find a register to spill in class `R0_REGS'
/exp/ldroot/dodes/LOCAL/gcc/gcc/testsuite/gcc.c-torture/unsorted/SFset.c:135:
error: this is the insn:
(insn:HI 25 44 40 0 (parallel [
            (set (mem:SF (plus:SI (reg:SI 6 r6 [ p0 ])
                        (reg:SI 2 r2 [171])) [2 S4 A32])
                (reg:SF 65 fr1 [173]))
            (use (reg/v:PSI 151 ))
            (clobber (scratch:SI))
        ]) 150 {movsf_ie} (insn_list 24 (insn_list 22 (insn_list 42 (nil))))
    (expr_list:REG_DEAD (reg/v:PSI 151 )
        (expr_list:REG_DEAD (reg:SF 65 fr1 [173])
            (expr_list:REG_DEAD (reg:SI 6 r6 [ p0 ])
                (expr_list:REG_DEAD (reg:SI 2 r2 [171])
                    (expr_list:REG_UNUSED (scratch:SI)
                        (nil)))))))

This test passed on 3.3 and 3.4 successfully.

-- 
           Summary: gcc.c-torture/unsorted/SFset.c fails with "-O2 -m4"
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkojima at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-unknown-elf


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


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

end of thread, other threads:[~2005-01-05 14:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-11 23:26 [Bug target/16482] New: gcc.c-torture/unsorted/SFset.c fails with "-O2 -m4" kkojima at gcc dot gnu dot org
2004-07-11 23:32 ` [Bug target/16482] " kkojima at gcc dot gnu dot org
2004-07-12  4:35 ` [Bug target/16482] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-10-13  2:19 ` [Bug target/16482] [4.0 " pinskia at gcc dot gnu dot org
2004-10-15 13:35 ` amylaar at gcc dot gnu dot org
2004-10-15 14:23 ` kkojima at gcc dot gnu dot org
2004-10-15 15:49 ` amylaar at gcc dot gnu dot org
2004-10-18 12:03 ` naveen dot sharma at noida dot hcltech dot com
2004-10-18 15:16 ` joern dot rennecke at superh-support dot com
2004-10-19  5:57 ` naveen dot sharma at noida dot hcltech dot com
2004-10-19  6:06 ` sanjivkumargupta at yahoo dot com
2004-12-01 18:19 ` pinskia at gcc dot gnu dot org
2004-12-01 18:38 ` joern dot rennecke at st dot com
2005-01-05 14:41 ` cvs-commit at gcc dot gnu dot org
2005-01-05 14:50 ` pinskia at gcc dot gnu dot org

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).