comparison gcc/testsuite/gcc.dg/pr63637-1.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 /* PR rtl-optimization/63637 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 int
6 foo (void)
7 {
8 int a, b, c;
9 asm ("# Magic instruction" : "=r" (a));
10 asm ("# Magic instruction" : "=r" (b));
11 asm ("# Magic instruction" : "=r" (c));
12 return a + b + c;
13 }
14
15 /* { dg-final { scan-assembler-times "# Magic instruction" 1 } } */