1 /* { dg-do compile } */
2 /* { dg-options "-w -O2 -fdump-tree-optimized" } */
4 static __inline__
__attribute__((__always_inline__
))
5 void syscall_7 (int val
)
7 register int reg
__asm ("4") = val
;
8 __asm
__volatile__ ("/* Some Code %0 */" :: "r" (reg
));
11 void do_syscalls (void)
13 for (int s
= 0; s
< 2; s
++)
20 /* { dg-final { scan-tree-dump-times "reg = " 4 "optimized" } } */