Document gcov-io (PR gcov-profile/84735).
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80492.c
blob1721b2dee39b8da9190fc904af46d53ffbb81f16
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++)
15 syscall_7 (0);
16 syscall_7 (1);
20 /* { dg-final { scan-tree-dump-times "reg = " 4 "optimized" } } */