mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 10:10:39 +08:00
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:
parent
1f561f9ba4
commit
0f0dda2091
@ -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
|
||||
|
11
gcc/testsuite/gcc.target/i386/pr44144.c
Normal file
11
gcc/testsuite/gcc.target/i386/pr44144.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user