Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-a.c
bloba676c9ebc0807b1c256ae485d93ce51dfdd4c333
1 /* { dg-options "-O2" } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target ilp32 } */
5 /* The problem was we were not striping the long cast here.
6 Note this really should be invalid code but not for the
7 current release (4.0) as we have people using it. */
9 void blockCopy_MMX2(int*);
10 void postProcess_MMX2()
12 int c, x,y, width;
13 asm( "" :: "m" ((long)x));
14 blockCopy_MMX2(&c);