This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]