1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 static inline int inline_read(volatile int *mem
)
8 int foo_read(volatile int *mem
)
10 return inline_read(mem
);
12 unsigned int foo(volatile int *mem
)
18 /* { dg-final { scan-tree-dump-times "foo_read" 5 "optimized" } } */
19 /* { dg-final { cleanup-tree-dump "optimized" } } */