PR rtl-optimization/63637
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr63637-5.c
blobf0c79b76d0a71f036153e93cdaab1d969e9e6f7a
1 /* PR rtl-optimization/63637 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int
6 foo (void)
8 int a, b, c, d, e, f;
9 asm ("# Magic instruction" : "=r" (a), "=r" (d) : : "eax");
10 asm ("# Magic instruction" : "=r" (b), "=r" (e) : : "edx");
11 asm ("# Magic instruction" : "=r" (c), "=r" (f) : : "ecx");
12 return a + b + c;
15 /* { dg-final { scan-assembler-times "# Magic instruction" 3 } } */