Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63637-4.c
blob1a914830c1e360a8b62b489df99d13f3828b94bf
1 /* PR rtl-optimization/63637 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int
6 foo (void)
8 int a, b, c;
9 asm ("# Magic instruction" : "=r" (a) : "r" (0) : "memory");
10 asm ("# Magic instruction" : "=r" (b) : "r" (0) : "memory");
11 asm ("# Magic instruction" : "=r" (c) : "r" (0) : "memory");
12 return a + b + c;
15 /* { dg-final { scan-assembler-times "# Magic instruction" 3 } } */