OSDN Git Service

2012-04-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / winline-5.c
1 /* { dg-do compile } */
2 /* { dg-options "-Winline -O2 --param inline-unit-growth=0 --param large-unit-insns=0" } */
3
4 void big (void);
5 inline int q(void) /* { dg-warning "inline-unit-growth" } */
6 {
7         big();
8         big();
9         big();
10         big();
11         big();
12         big();
13         big();
14         big();
15         big();
16         big();
17 }
18 int t (void)
19 {
20         return q ();             /* { dg-warning "called from here" } */
21 }