public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/9195: mips-irix6 testsuite failure in gcc.c-torture/compile/simd-5.c with -O1
@ 2003-01-15 17:03 ghazi
  0 siblings, 0 replies; 2+ messages in thread
From: ghazi @ 2003-01-15 17:03 UTC (permalink / raw)
  To: echristo, David.Billinghurst, rsandifo, gcc-bugs, gcc-prs, ghazi, nobody

Synopsis: mips-irix6 testsuite failure in gcc.c-torture/compile/simd-5.c with -O1

State-Changed-From-To: open->closed
State-Changed-By: ghazi
State-Changed-When: Wed Jan 15 09:03:07 2003
State-Changed-Why:
    Fixed by http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00774.html
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9195


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

* target/9195: mips-irix6 testsuite failure in gcc.c-torture/compile/simd-5.c with -O1
@ 2003-01-06 18:06 ghazi
  0 siblings, 0 replies; 2+ messages in thread
From: ghazi @ 2003-01-06 18:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: echristo, David.Billinghurst, rsandifo


>Number:         9195
>Category:       target
>Synopsis:       mips-irix6 testsuite failure in gcc.c-torture/compile/simd-5.c with -O1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 06 10:06:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030105 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
I get a testsuite failure in gcc.c-torture/compile/simd-5.c with -O1 as seen here:  http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg00233.html

This is not new, it appears to have been a problem for as long as the testcase was in the suite.

The logfile says:
simd-5.c: In function `main':
simd-5.c:12: internal compiler error: in trunc_int_for_mode, at explow.c:56
FAIL: gcc.c-torture/compile/simd-5.c,  -O1

running under gdb shows:

Breakpoint 1, trunc_int_for_mode (c=64, mode=V2SImode) at ../../egcc-CVS20030105/gcc/explow.c:56
56          abort ();
(gdb) bt
#0  trunc_int_for_mode (c=64, mode=V2SImode) at ../../egcc-CVS20030105/gcc/explow.c:56
#1  0x102e4fd8 in simplify_unary_operation (code=131, mode=V2SImode, op=0x4008400, op_mode=SImode)
    at ../../egcc-CVS20030105/gcc/simplify-rtx.c:485
#2  0x1033eed0 in subst (x=0x400b730, from=0x403b330, to=0x40088a0, in_dest=0, unique_copy=0)
    at ../../egcc-CVS20030105/gcc/combine.c:3556
#3  0x1033ed44 in subst (x=0x4052478, from=0x403b330, to=0x40088a0, in_dest=0, unique_copy=0)
    at ../../egcc-CVS20030105/gcc/combine.c:3526
#4  0x1032eff4 in try_combine (i3=0x4015290, i2=0x4014840, i1=0x4016998, new_direct_jump_p=0x7fff2710)
    at ../../egcc-CVS20030105/gcc/combine.c:1987
#5  0x1032afa0 in combine_instructions (f=0x40144d0, nregs=67444248) at ../../egcc-CVS20030105/gcc/combine.c:719
#6  0x100bdda4 in rest_of_compilation (decl=0x404e080) at ../../egcc-CVS20030105/gcc/toplev.c:3119
#7  0x1005628c in c_expand_body (fndecl=0x404e080, nested_p=0, can_defer_p=30) at ../../egcc-CVS20030105/gcc/c-decl.c:6539
#8  0x10055da0 in finish_function (nested=0, can_defer_p=1) at ../../egcc-CVS20030105/gcc/c-decl.c:6410
#9  0x10030b60 in yyparse () at c-parse.y:433
#10 0x1003fe60 in c_common_parse_file (set_yydebug=200) at ../../egcc-CVS20030105/gcc/c-lex.c:161
#11 0x100bc100 in compile_file () at ../../egcc-CVS20030105/gcc/toplev.c:2128
#12 0x100c3860 in do_compile () at ../../egcc-CVS20030105/gcc/toplev.c:5352
#13 0x100c3990 in toplev_main (argc=13, argv=0x7fff2ef4) at ../../egcc-CVS20030105/gcc/toplev.c:5382
#14 0x100aa77c in main (argc=200, argv=0x40) at ../../egcc-CVS20030105/gcc/main.c:37
(gdb) p mode
$1 = V2SImode
>How-To-Repeat:
Target mips-sgi-irix6.5 and compile simd-5.i with:

cc1 -fpreprocessed simd-5.i -quiet -dumpbase simd-5.c -auxbase-strip /caip/u58/ghazi/gcc-testing/build/gcc/testsuite/simd-5.o -O1 -w -version -o simd-5.s

# 1 "/caip/u58/ghazi/gcc-testing/egcc-CVS20030105/gcc/testsuite/gcc.c-torture/compile/simd-5.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/caip/u58/ghazi/gcc-testing/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] 2+ messages in thread

end of thread, other threads:[~2003-01-15 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 17:03 target/9195: mips-irix6 testsuite failure in gcc.c-torture/compile/simd-5.c with -O1 ghazi
  -- strict thread matches above, loose matches on Subject: below --
2003-01-06 18:06 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).