blob: 9cc9750dd13dd84507f5085fcabe01d1d14b093f [file] [log] [blame]
/* PR rtl-optimization/63637 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
int
foo (void)
{
int a, b, c;
asm ("# Magic instruction" : "=r" (a) : : "eax");
asm ("# Magic instruction" : "=r" (b) : : "edx");
asm ("# Magic instruction" : "=r" (c) : : "ecx");
return a + b + c;
}
/* { dg-final { scan-assembler-times "# Magic instruction" 1 } } */