public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/9200: sparc-sun-solaris2.7 C testsuite failures in compile/simd-5.c w/-m64 or on sparcv9/sparc64
@ 2003-01-06 20:06 ghazi
  0 siblings, 0 replies; only message in thread
From: ghazi @ 2003-01-06 20:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: rth, davem, jakub


>Number:         9200
>Category:       target
>Synopsis:       sparc-sun-solaris2.7 C testsuite failures in compile/simd-5.c w/-m64 or on sparcv9/sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 06 12:06:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030105 (experimental)
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
I'm getting testsuite failures on the 3.4 trunk from gcc.c-torture/compile/simd-5.c on sparc-solaris2.7 with -m64 as seen here:
http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00234.html

Here's an example from the 3.3 branch on sparcv9 with no special flags:
http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00135.html

The failures appear to have started showing immediately when the testcase was checked in.

In the logfile I see:

simd-5.c: In function `main':
simd-5.c:12: error: unable to find a register to spill in class `GENERAL_REGS'
simd-5.c:12: error: this is the insn:
(insn 52 51 53 0 62d440 (set (reg:SI 1 %g1 [141])
        (subreg:SI (reg:V2SI 112) 4)) 51 {*movsi_insn} (nil)
    (expr_list:REG_DEAD (reg:V2SI 112)
        (nil)))
simd-5.c:12: internal compiler error: in spill_failure, at reload1.c:1922
[...]
FAIL: gcc.c-torture/compile/simd-5.c,  -O0

>How-To-Repeat:
Target sparc-sun-solaris2.7 and compile simd-5.i with:

cc1 -fpreprocessed simd-5.i -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet -dumpbase simd-5.c -m64 -auxbase-strip /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/testsuite/simd-5.o -O0 -w -version -o simd-5.s


# 1 "/teal/tmpdisk/ghazi/gcc-testing/34/egcc-CVS20030105/gcc/testsuite/gcc.c-torture/compile/simd-5.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/teal/tmpdisk/ghazi/gcc-testing/34/egcc-CVS20030105/gcc/testsuite/gcc.c-torture/compile/simd-5.c"


main(){

 __attribute__((vector_size(8))) int c;
__attribute__((vector_size(8))) int a = {1, -1};
__attribute__((vector_size(8))) int b = {2, -2};
c = -a + b*b*(-1LL);


 printf("result is %llx\n", (long long)c);
}


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-06 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 20:06 target/9200: sparc-sun-solaris2.7 C testsuite failures in compile/simd-5.c w/-m64 or on sparcv9/sparc64 ghazi

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