aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gcc.gnu.org>2005-08-25 07:02:58 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-08-25 07:02:58 +0000
commit1b8299747e8307b8a74beda31ac6e49cfa657315 (patch)
tree2db3571188d2ba6c532c7c10e269cb777617273d
parent0621d71a5c6bf6e75023d40ef3f772f328ac63e4 (diff)
downloadgcc-1b8299747e8307b8a74beda31ac6e49cfa657315.zip
gcc-1b8299747e8307b8a74beda31ac6e49cfa657315.tar.gz
gcc-1b8299747e8307b8a74beda31ac6e49cfa657315.tar.bz2
re PR tree-optimization/23546 (ICE in for_each_index, at tree-ssa-loop-im.c:202)
2005-08-24 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/23546 * gcc.dg/tree-ssa/pr23546.c: New test. From-SVN: r103473
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr23546.c10
2 files changed, 16 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 80b184e..738bc55 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000..06324df
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr23546.c
@@ -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;
+}
+