summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-25 07:02:58 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-25 07:02:58 +0000
commit3a351ecab93af1cc21c961c0fb1a8d8a39603370 (patch)
tree2db3571188d2ba6c532c7c10e269cb777617273d /gcc/testsuite/gcc.dg
parent8719a6fa479d073181574bf4a3dcce019bc0d4a0 (diff)
downloadgcc-3a351ecab93af1cc21c961c0fb1a8d8a39603370.tar.gz
2005-08-24 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/23546 * gcc.dg/tree-ssa/pr23546.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr23546.c10
1 files changed, 10 insertions, 0 deletions
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 00000000000..06324dfcb0a
--- /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;
+}
+