Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/asm-a.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-options "-O2" } */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-require-effective-target ilp32 } */ | |
4 | |
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. */ | |
8 | |
9 void blockCopy_MMX2(int*); | |
10 void postProcess_MMX2() | |
11 { | |
12 int c, x,y, width; | |
13 asm( "" :: "m" ((long)x)); | |
14 blockCopy_MMX2(&c); | |
15 } |