OSDN Git Service

* gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / inline-33.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized"  } */
3
4 int i;
5
6 int foo ();
7
8 main ()
9 {
10   return foo (i);
11 }
12
13 int foo (i)
14      int i;
15 {
16   return bar(i);
17 }
18
19 /* { dg-final { scan-tree-dump-times "bar"  2 "optimized"  } } */
20 /* { dg-final { cleanup-tree-dump "optimized" } } */