Add a testcase for PR middle-end/44144.

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

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

From-SVN: r165446
This commit is contained in:
H.J. Lu 2010-10-14 02:22:09 +00:00 committed by H.J. Lu
parent 1f561f9ba4
commit 0f0dda2091
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/44144
* gcc.target/i386/pr44144.c: New.
2010-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR target/44180

View File

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