diff mbox

PATCH: Add a testcase for PR middle-end/44144

Message ID 20101014022047.GA13504@intel.com
State New
Headers show

Commit Message

H.J. Lu Oct. 14, 2010, 2:20 a.m. UTC
Hi,

I am checking in this patch to add a testcase for PR middle-end/44144.


H.J.
----
2010-10-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR middle-end/44144
	* gcc.target/i386/pr44144.c: New.
diff mbox

Patch

--- /dev/null	2010-10-13 10:21:15.312298381 -0700
+++ gcc/gcc/testsuite/gcc.target/i386/pr44144.c	2010-10-13 19:16:17.766025326 -0700
@@ -0,0 +1,11 @@ 
+/* { dg-do compile } */
+/* { dg-options "-O2 -ftree-vectorize -mavx" } */
+
+void
+foo (char * dest, int xcount, int ycount)
+{
+  int x, y;
+  for (y = 0; y < ycount; y++)
+    for (x = 0; x < xcount; x++)
+      dest[x + y*2] = 0;
+}