20040124-1.c: Moved test from here...
authorIan Lance Taylor <ian@wasabisystems.com>
Mon, 26 Jan 2004 15:52:38 +0000 (15:52 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 26 Jan 2004 15:52:38 +0000 (15:52 +0000)
* gcc.dg/20040124-1.c: Moved test from here...
* gcc.c-torture/compile/20040124-1.c: ...to here.

From-SVN: r76639

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20040124-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/20040124-1.c [deleted file]

index fa12a7ea55da79af9c0d110210d892e8a7ad5a1a..6a0265efb750363202c6c303968dd2eb82777bc4 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-26  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * gcc.dg/20040124-1.c: Moved test from here...
+       * gcc.c-torture/compile/20040124-1.c: ...to here.
+
 2004-01-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.dg/sparc-ret.c: Run only in 32-bit mode.  Don't scan
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040124-1.c b/gcc/testsuite/gcc.c-torture/compile/20040124-1.c
new file mode 100644 (file)
index 0000000..01c9002
--- /dev/null
@@ -0,0 +1,22 @@
+int
+f1 (int a, int b)
+{
+  int i, j, k;
+
+  switch (b)
+    {
+    case (-9):
+      j = 4;
+      break;
+    case (-10):
+      j = 10;
+      break;
+    case (-8):
+      j = 15;
+      break;
+    }
+
+  i = f2 (f3 (b == (-9) ? k : a), j);
+
+  return 0;
+}
diff --git a/gcc/testsuite/gcc.dg/20040124-1.c b/gcc/testsuite/gcc.dg/20040124-1.c
deleted file mode 100644 (file)
index a508237..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/* This code crashed with the cse_condition_code_reg() pass on i686.  */
-/* { dg-do compile } */
-/* { dg-options "-O2" } */
-int
-f1 (int a, int b)
-{
-  int i, j, k;
-
-  switch (b)
-    {
-    case (-9):
-      j = 4;
-      break;
-    case (-10):
-      j = 10;
-      break;
-    case (-8):
-      j = 15;
-      break;
-    }
-
-  i = f2 (f3 (b == (-9) ? k : a), j);
-
-  return 0;
-}