re PR tree-optimization/64434 (Performance regression after operand canonicalization...
authorYuri Rumyantsev <ysrumyan@gmail.com>
Fri, 16 Jan 2015 14:22:57 +0000 (14:22 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Fri, 16 Jan 2015 14:22:57 +0000 (14:22 +0000)
gcc/testsuite/

PR tree-optimization/64434
* gcc.dg/torture/pr64434.c: Move to...
* gcc.dg/pr64434.c: ... here.

From-SVN: r219741

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr64434.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr64434.c [deleted file]

index b542f771434fb6abe29e28feb09a2fabd6e2aabc..a6a316e5fa87d2c97ea8fe63cb793a7e9f795af4 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-16  Yuri Rumyantsev  <ysrumyan@gmail.com>
+
+       PR tree-optimization/64434
+       * gcc.dg/torture/pr64434.c: Move to...
+       * gcc.dg/pr64434.c: ... here.
+
 2015-01-16  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/64614
diff --git a/gcc/testsuite/gcc.dg/pr64434.c b/gcc/testsuite/gcc.dg/pr64434.c
new file mode 100644 (file)
index 0000000..60fc806
--- /dev/null
@@ -0,0 +1,21 @@
+/* { dg-do compile } */
+/* { dg-options "-O1 -fdump-rtl-expand-details" } */
+
+#define N 256
+int a1[N], a2[N], a3[N], a4[N];
+
+void foo ()
+{
+  int i;
+  for (i=0; i<N; i++) {
+    int c;
+    c = a3[i] + (a1[i] * a2[i]);
+    a4[i] = c + 1;
+    a1[i] = a2[i] - 1;
+  }
+}
+
+/* { dg-final { scan-rtl-dump-times "Swap operands" 1 "expand" } } */
+/* { dg-final { cleanup-rtl-dump "expand" } } */
+
+
diff --git a/gcc/testsuite/gcc.dg/torture/pr64434.c b/gcc/testsuite/gcc.dg/torture/pr64434.c
deleted file mode 100644 (file)
index 60fc806..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O1 -fdump-rtl-expand-details" } */
-
-#define N 256
-int a1[N], a2[N], a3[N], a4[N];
-
-void foo ()
-{
-  int i;
-  for (i=0; i<N; i++) {
-    int c;
-    c = a3[i] + (a1[i] * a2[i]);
-    a4[i] = c + 1;
-    a1[i] = a2[i] - 1;
-  }
-}
-
-/* { dg-final { scan-rtl-dump-times "Swap operands" 1 "expand" } } */
-/* { dg-final { cleanup-rtl-dump "expand" } } */
-
-