re PR tree-optimization/23546 (ICE in for_each_index, at tree-ssa-loop-im.c:202)
authorPaolo Bonzini <bonzini@gcc.gnu.org>
Thu, 25 Aug 2005 07:02:58 +0000 (07:02 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Thu, 25 Aug 2005 07:02:58 +0000 (07:02 +0000)
2005-08-24  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/23546
* gcc.dg/tree-ssa/pr23546.c: New test.

From-SVN: r103473

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23546.c [new file with mode: 0644]

index 80b184e802642361d6a51b471661506418c8e63d..738bc5521543a974b78e6bbf89e2a35478b18829 100644 (file)
@@ -1,7 +1,12 @@
+2005-08-24  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR tree-optimization/23546
+       * gcc.dg/tree-ssa/pr23546.c: New test.
+
 2005-08-24  Thomas Koenig  <Thomas.Koenig@online.de>
 
        PR fortran/17758
-       gfortran.dg/nonreturning_statements.f90: New test.
+       gfortran.dg/nonreturning_statements.f90: New test.
 
 2005-08-24  Nathan Sidwell  <nathan@codesourcery.com>
 
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr23546.c b/gcc/testsuite/gcc.dg/tree-ssa/pr23546.c
new file mode 100644 (file)
index 0000000..06324df
--- /dev/null
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
+typedef int m64 __attribute__ ((__vector_size__ (8)));
+
+void mmxCombineMaskU (m64 * mask, int width)
+{
+  while (--width >= 0)
+    *mask++ = (m64) 0LL;
+}
+