This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ping
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Cc: joern dot rennecke at st dot com, aoliva at redhat dot com
- Date: Tue, 24 Jan 2006 07:51:16 +0900 (JST)
- Subject: Ping
Ping
"Fix a latent tighter check in sh/predicate.md"
http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00725.html
and the attached is a testcase for it. Sorry for forgeting
the patch marker in the original post. I've added it here.
:PATCHADD target:
Regards,
kaz
--
[gcc/testsuite/ChangeLog]
2006-01-23 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.dg/vect-117.c: New.
diff -uprN ORIG/trunk/gcc/testsuite/gcc.dg/vect/vect-117.c LOCAL/trunk/gcc/testsuite/gcc.dg/vect/vect-117.c
--- ORIG/trunk/gcc/testsuite/gcc.dg/vect/vect-117.c 1970-01-01 09:00:00.000000000 +0900
+++ LOCAL/trunk/gcc/testsuite/gcc.dg/vect/vect-117.c 2006-01-23 12:35:18.000000000 +0900
@@ -0,0 +1,14 @@
+/* Compiler generates 64-bit stores of zero for this on some targets.
+ Check there is no problem for such case. */
+/* { dg-do compile } */
+/* { dg-options "-O2 -ftree-vectorize" } */
+
+void
+foo (float *dest, int xcount, int ycount)
+{
+ int x, y;
+
+ for (y = 0; y < ycount; y++)
+ for (x = 0; x < xcount; x++)
+ dest[x + y] = (float) 0;
+}