public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
@ 2004-03-29  2:33 ghazi at gcc dot gnu dot org
  2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2004-03-29  2:33 UTC (permalink / raw)
  To: gcc-bugs

Pretty much ever since the testcase gcc.dg/overflow-1.c was added to the 3.3.x 
branch testsuite, I've been seeing it fail on mips-sgi-irix6.5 with -mabi=64.  
Here's the first time I can find it:
http://gcc.gnu.org/ml/gcc-testresults/2003-12/msg00566.html
and it still occurs currently:
http://gcc.gnu.org/ml/gcc-testresults/2004-03/msg01481.html

I get:
overflow-1.c: In function `foo':
overflow-1.c:25: internal compiler error: in expand_simple_unop, at 
optabs.c:2328


To repeat the failure, target mips-sgi-irix6.5 and compile the following .i 
file with -O2 -S -mabi=64.  (You can use a cross-compiler.)

# 1 "overflow-1.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "overflow-1.c"
# 11 "overflow-1.c"
struct S {
  int key;
  int rnext,rprev;
};

void foo(struct S* H)
{
  int i, k;
  for (i=0; i<2; i++){
    struct S* cell=H+k;
    cell->key=i*(0xffffffffUL/2);
    cell->rnext=k+(1-i);
    cell->rprev=k+(1-i);
  }
}

-- 
           Summary: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-
                    1.c with -mabi=64
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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


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

end of thread, other threads:[~2005-04-30 14:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
2004-03-29  4:20 ` pinskia at gcc dot gnu dot org
2004-10-26 18:04 ` [Bug target/14766] [3.3 only] " rsandifo at gcc dot gnu dot org
2004-10-26 18:30 ` pinskia at gcc dot gnu dot org
2004-12-07  7:27 ` echristo at redhat dot com
2004-12-07 13:47 ` kghazi at verizon dot net
2004-12-08  0:48 ` echristo at redhat dot com
2005-02-08 14:37 ` echristo at redhat dot com
2005-02-08 14:41 ` kghazi at verizon dot net
2005-02-08 15:06 ` echristo at redhat dot com
2005-04-30 13:35 ` gdr at gcc dot gnu dot org
2005-04-30 14:38 ` gdr 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).