20030331-1.c: New test, moved from...
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 31 Mar 2003 20:32:14 +0000 (20:32 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 31 Mar 2003 20:32:14 +0000 (20:32 +0000)
* gcc.c-torture/compile/20030331-1.c: New test, moved from...
* gcc.c-torture/execute/20030331-1.c: ...here.

From-SVN: r65106

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

index f2aca8542e8ecfa38ea3c6aa155ebbba4bf9bec9..f0b4bfd447dffe031866322f45979f0378d8d28b 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-31  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gcc.c-torture/compile/20030331-1.c: New test, moved from...
+       * gcc.c-torture/execute/20030331-1.c: ...here.
+
 2003-03-31  Richard Sandiford  <rsandifo@redhat.com>
 
        * gcc.c-torture/execute/20030331-1.c: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030331-1.c b/gcc/testsuite/gcc.c-torture/compile/20030331-1.c
new file mode 100644 (file)
index 0000000..e5db36b
--- /dev/null
@@ -0,0 +1,13 @@
+/* From PR/9301.  Fixed by ebotcazou's patch for PR/9493.  */
+
+void bar (void);
+
+void foo (int a, int b, int c, int d, int e)
+{
+  if (a)
+    bar();
+  if (b && c)
+    ;
+  if (d && e)
+    ;
+}
diff --git a/gcc/testsuite/gcc.c-torture/execute/20030331-1.c b/gcc/testsuite/gcc.c-torture/execute/20030331-1.c
deleted file mode 100644 (file)
index e5db36b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* From PR/9301.  Fixed by ebotcazou's patch for PR/9493.  */
-
-void bar (void);
-
-void foo (int a, int b, int c, int d, int e)
-{
-  if (a)
-    bar();
-  if (b && c)
-    ;
-  if (d && e)
-    ;
-}