[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 gcc-bugzilla@gcc.gnu.org
Mon Mar 29 02:33:00 GMT 2004


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



More information about the Gcc-bugs mailing list