OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR tree-optimization/30843
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
winline-7.c
1
/* { dg-do compile } */
2
/* { dg-options "-Winline -O2" } */
3
4
extern void *alloca (__SIZE_TYPE__);
5
6
void big (void);
7
inline void *q (void)
8
{ /* { dg-warning "(function not inlinable|alloca)" } */
9
return alloca (10);
10
}
11
inline void *t (void)
12
{
13
return q (); /* { dg-warning "called from here" } */
14
}