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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr43942.c
blob
3d97db6624e8e477febc1c54851fb1c1641affc0
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
}