summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/20020620-1.c
blob: f4828f439e7d43598438529cbecba7809f11e6bf (plain)
1
2
3
4
5
6
7
/* { dg-do compile { target mips64*-*-* mipsisa64*-*-* } } */
/* { dg-mips-options "-O2 -mlong64" } */
int foo (int *x, int i)
{
  return x[i] + i;
}
/* { dg-final { scan-assembler-not "move" } } */