re PR tree-optimization/69652 ([ICE] verify_ssa fail w/ -O2 -ffast-math -ftree-vectorize)
authorYuri Rumyantsev <ysrumyan@gmail.com>
Mon, 29 Feb 2016 14:32:24 +0000 (14:32 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Mon, 29 Feb 2016 14:32:24 +0000 (14:32 +0000)
gcc/testsuite/

2016-02-29  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/69652
* gcc.dg/torture/pr69652.c: Delete test.
* gcc.dg/vect/pr69652.c: New test.

From-SVN: r233811

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

index 654ba38c714c63135db0fad223b3ef054ac9a80f..a97af6481db3df78ceed7f3442c385c0533259f0 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-29  Yuri Rumyantsev  <ysrumyan@gmail.com>
+
+       PR tree-optimization/69652
+       * gcc.dg/torture/pr69652.c: Delete test.
+       * gcc.dg/vect/pr69652.c: New test.
+
 2016-02-19  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/69980
diff --git a/gcc/testsuite/gcc.dg/torture/pr69652.c b/gcc/testsuite/gcc.dg/torture/pr69652.c
deleted file mode 100644 (file)
index ab7b698..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2 -ffast-math -ftree-vectorize " } */
-/* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
-
-void fn1(double **matrix, int column, int row, int n)
-{
-  int k;
-  for (k = 0; k < n; k++)
-    if (matrix[row][k] != matrix[column][k])
-      {
-       matrix[column][k] = -matrix[column][k];
-       matrix[row][k] = matrix[row][k] - matrix[column][k];
-      }
-}
diff --git a/gcc/testsuite/gcc.dg/vect/pr69652.c b/gcc/testsuite/gcc.dg/vect/pr69652.c
new file mode 100644 (file)
index 0000000..29fe28c
--- /dev/null
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-additional-options "-ffast-math" } */
+/* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
+
+void fn1(double **matrix, int column, int row, int n)
+{
+  int k;
+  for (k = 0; k < n; k++)
+    if (matrix[row][k] != matrix[column][k])
+      {
+       matrix[column][k] = -matrix[column][k];
+       matrix[row][k] = matrix[row][k] - matrix[column][k];
+      }
+}