vect-pr61917.c: Rename to ...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 26 Feb 2015 19:26:39 +0000 (20:26 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 26 Feb 2015 19:26:39 +0000 (20:26 +0100)
* gcc.dg/vect/vect-pr61917.c: Rename to ...
* gcc.dg/vect/O3-vect-pr61917.c: ... this.
(dg-additional-options): Remove dg directive.
(dg-final): Add dg directive.

From-SVN: r221027

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/O3-vect-pr61917.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect-pr61917.c [deleted file]

index be82a66b687d421c9cecd62d8fc371c7f28730b0..085792e476b30b42fbd4fc9ba85383465e6aaa8a 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-26  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/vect/vect-pr61917.c: Rename to ...
+       * gcc.dg/vect/O3-vect-pr61917.c: ... this.
+       (dg-additional-options): Remove dg directive.
+       (dg-final): Add dg directive.
+
 2015-02-26  Marek Polacek  <polacek@redhat.com>
 
        PR ipa/65008
diff --git a/gcc/testsuite/gcc.dg/vect/O3-vect-pr61917.c b/gcc/testsuite/gcc.dg/vect/O3-vect-pr61917.c
new file mode 100644 (file)
index 0000000..1d36ad8
--- /dev/null
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+
+int a, b, c, d;
+
+int
+fn1 ()
+{
+  for (; c; c++)
+    for (b = 0; b < 2; b++)
+      d = a - d;
+  return d; 
+}
+
+/* { dg-final { cleanup-tree-dump "vect" } } */
diff --git a/gcc/testsuite/gcc.dg/vect/vect-pr61917.c b/gcc/testsuite/gcc.dg/vect/vect-pr61917.c
deleted file mode 100644 (file)
index c55c620..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* { dg-do compile } */
-/* { dg-additional-options "-O3" } */
-
-int a, b, c, d;
-
-int
-fn1 ()
-{
-  for (; c; c++)
-    for (b = 0; b < 2; b++)
-      d = a - d;
-  return d; 
-}