OSDN Git Service

* gcc.dg/20020620-1.c: New test.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jun 2002 18:07:29 +0000 (18:07 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jun 2002 18:07:29 +0000 (18:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54847 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020620-1.c [new file with mode: 0644]

index e2e8799..653cab3 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-20  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gcc.dg/20020620-1.c: New test.
+
 2002-06-20  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        * g++.dg/template/ttp4.C: New test.
diff --git a/gcc/testsuite/gcc.dg/20020620-1.c b/gcc/testsuite/gcc.dg/20020620-1.c
new file mode 100644 (file)
index 0000000..019afdd
--- /dev/null
@@ -0,0 +1,7 @@
+/* { dg-do compile { target mips64*-*-* } } */
+/* { dg-options "-O2 -mlong64" } */
+int foo (int *x, int i)
+{
+  return x[i] + i;
+}
+/* { dg-final { scan-assembler-not "move" } } */