re PR tree-optimization/61917 (ICE on valid code at -O3 on x86_64-linux-gnu in vector...
authorKai Tietz <ktietz@redhat.com>
Wed, 25 Feb 2015 13:42:12 +0000 (14:42 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 25 Feb 2015 13:42:12 +0000 (14:42 +0100)
PR tree-optimization/61917
* gcc.dg/vect/vect-pr61917.c: New file.

From-SVN: r220967

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

index daf3e185c89962ac7b68b5cda15de6fe58b4df56..49bf525cdaf177b46fb4acbc427cbaab677b974f 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-25  Kai Tietz  <ktietz@redhat.com>
+
+       PR tree-optimization/61917
+       * gcc.dg/vect/vect-pr61917.c: New file.
+
 2015-02-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/65170
diff --git a/gcc/testsuite/gcc.dg/vect/vect-pr61917.c b/gcc/testsuite/gcc.dg/vect/vect-pr61917.c
new file mode 100644 (file)
index 0000000..c55c620
--- /dev/null
@@ -0,0 +1,13 @@
+/* { 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; 
+}