repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
winline-6.c
blob
dd8d3a81b08e97453416ed0addae39e2eacf2707
1
/* { dg-do compile } */
2
/* { dg-options "-Winline -O2 --param large-function-growth=0 --param large-function-insns=1" } */
3
4
void
big
(
void
);
5
inline
int
q
(
void
)
6
{
/* { dg-warning "large-function-growth" } */
7
big
();
8
big
();
9
big
();
10
big
();
11
big
();
12
big
();
13
big
();
14
big
();
15
big
();
16
big
();
17
}
18
inline
int
t
(
void
)
19
{
20
return
q
() +
1
;
/* { dg-warning "called from here" } */
21
}