From 1b8299747e8307b8a74beda31ac6e49cfa657315 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 25 Aug 2005 07:02:58 +0000 Subject: re PR tree-optimization/23546 (ICE in for_each_index, at tree-ssa-loop-im.c:202) 2005-08-24 Paolo Bonzini PR tree-optimization/23546 * gcc.dg/tree-ssa/pr23546.c: New test. From-SVN: r103473 --- gcc/testsuite/ChangeLog | 7 ++++++- gcc/testsuite/gcc.dg/tree-ssa/pr23546.c | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/gcc.dg/tree-ssa/pr23546.c (limited to 'gcc') 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 + + PR tree-optimization/23546 + * gcc.dg/tree-ssa/pr23546.c: New test. + 2005-08-24 Thomas Koenig PR fortran/17758 - gfortran.dg/nonreturning_statements.f90: New test. + * gfortran.dg/nonreturning_statements.f90: New test. 2005-08-24 Nathan Sidwell 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; +} + -- cgit v1.1