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 debug/43942
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr43942.c
1
/* PR debug/43942 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fcompare-debug" } */
4
5
extern int f1 (int);
6
7
int
8
f2 (int x)
9
{
10
extern int v;
11
return f1 (x);
12
}
13
14
void
15
f3 (void)
16
{
17
f2 (0);
18
}
19
20
static inline int
21
f4 (int x)
22
{
23
extern int w;
24
if (w)
25
return f1 (x);
26
return 0;
27
}
28
29
void
30
f5 (void)
31
{
32
f4 (0);
33
}