No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / pr27236.c
blobb623486294a649f42bcef8d2cca142116b8e67ee
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 static inline int inline_read(volatile int *mem)
6 return *mem;
8 int foo_read(volatile int *mem)
10 return inline_read(mem);
12 unsigned int foo(volatile int *mem)
14 foo_read(mem);
15 return foo_read(mem);
18 /* { dg-final { scan-tree-dump-times "foo_read" 5 "optimized" } } */
19 /* { dg-final { cleanup-tree-dump "optimized" } } */