unsigned-long-compare.c: Remove target selector.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 27 Aug 2007 12:58:44 +0000 (14:58 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 27 Aug 2007 12:58:44 +0000 (14:58 +0200)
* gcc.dg/unsigned-long-compare.c: Remove target selector.

From-SVN: r127831

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/unsigned-long-compare.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/unsigned-long-compare.c [deleted file]

index e1230bccc8819003c0616849700716c150a02242..d48907ce4fb3fac7381720b0c63a6c5aed03febc 100644 (file)
@@ -1,11 +1,14 @@
-2007-08-23  Uros Bizjak  <ubizjak@gmail.com>
+2007-08-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/unsigned-long-compare.c: Remove target selector.
+
+2007-08-27  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.dg/arm-eabi1.c, gcc.dg/symbian1.c, cc.dg/symbian2.c,
        gcc.dg/symbian3.c, gcc.dg/symbian4.c, gcc.dg/symbian5.c,
        gcc.dg/20051215-1.c: Move to gcc.target/arm directory.
        * gcc.dg/const-compare.c, gcc.dg/non-lazy-ptr-test.c,
-       gcc.dg/unsigned-long-compare.c, gcc.dg/rs6000-leaf.c: Move to
-       gcc.target/powerpc directory.
+       gcc.dg/rs6000-leaf.c: Move to gcc.target/powerpc directory.
        * gcc.dg/m68k-pic-1.c, gcc.dg/m68k-slp-ice.c: Move to
        gcc.target/m68k directory.
        * gcc.dg/i386-darwin-fpmath.c: Move to gcc.target/i386 directory.
@@ -24,8 +27,8 @@
        gcc.dg/sh4a-fsrra.c, gcc.dg/sh4a-memmovua.c, gcc.dg/sh4a-sin.c,
        gcc.dg/sh4a-sincosf.c, gcc.dg/sh4a-sinf.c gcc.dg/sh-relax.c,
        gcc.dg/sh-relax-vxworks.c: Move to gcc.target/sh directory.
-       
-2007-08-23  Uros Bizjak  <ubizjak@gmail.com>
+
+2007-08-27  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.target/i386/pow-1.c: Fix scan-assembler-not.
        * gcc.target/i386/asm-3.c: Skip -fpic ilp32 targets only.
@@ -35,7 +38,7 @@
        * gcc.target/i386/20011119-1.c: Ditto.
        * gcc.target/i386/tailcall-1.c: Ditto. Check ilp32 targets only.
        * gcc.target/i386/fastcall-1.c: Fix target selector.
-       
+
 2007-08-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/33055
diff --git a/gcc/testsuite/gcc.dg/unsigned-long-compare.c b/gcc/testsuite/gcc.dg/unsigned-long-compare.c
new file mode 100644 (file)
index 0000000..74e7638
--- /dev/null
@@ -0,0 +1,24 @@
+/* Copyright (C) 2006 Free Software Foundation, Inc. */
+/* Contributed by Carlos O'Donell on 2006-01-30 */
+
+/* Test a division corner case where the expression simplifies
+   to a comparison, and the optab expansion is wrong. The optab 
+   expansion emits a function whose return is unbiased and needs
+   adjustment. */
+/* Origin: Carlos O'Donell <carlos@codesourcery.com> */
+/* { dg-do run } */
+/* { dg-options "" } */
+#include <stdlib.h>
+
+#define BIG_CONSTANT 0xFFFFFFFF80000000ULL
+
+int main (void)
+{
+  unsigned long long OneULL = 1ULL;
+  unsigned long long result;
+
+  result = OneULL / BIG_CONSTANT; 
+  if (result)
+    abort ();
+  exit (0);
+}
diff --git a/gcc/testsuite/gcc.target/powerpc/unsigned-long-compare.c b/gcc/testsuite/gcc.target/powerpc/unsigned-long-compare.c
deleted file mode 100644 (file)
index 1c5c69c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Copyright (C) 2006 Free Software Foundation, Inc. */
-/* Contributed by Carlos O'Donell on 2006-01-30 */
-
-/* Test a division corner case where the expression simplifies
-   to a comparison, and the optab expansion is wrong. The optab 
-   expansion emits a function whose return is unbiased and needs
-   adjustment. */
-/* Origin: Carlos O'Donell <carlos@codesourcery.com> */
-/* { dg-do run { target arm-*-*eabi* } } */
-/* { dg-options "" } */
-#include <stdlib.h>
-
-#define BIG_CONSTANT 0xFFFFFFFF80000000ULL
-
-int main (void)
-{
-  unsigned long long OneULL = 1ULL;
-  unsigned long long result;
-
-  result = OneULL / BIG_CONSTANT; 
-  if (result)
-    abort ();
-  exit (0);
-}