This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

target/9200: sparc-sun-solaris2.7 C testsuite failures in compile/simd-5.c w/-m64 or on sparcv9/sparc64


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]