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++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr42878-1.c
blob
8c21f0f600d652458c9fd405024e0b051967b787
1
/* { dg-do compile } */
2
/* { dg-options "-fcompare-debug" } */
3
4
struct
S
{
5
int
i
;
6
};
7
8
extern
struct
S
*
e1
(
void
);
9
extern
int
e2
(
int
i
);
10
11
static
inline
void
f1
()
12
{
13
int
i
;
14
struct
S
*
s
;
15
for
(
i
=
0
;
i
<
10
;
i
++)
16
s
=
e1
();
17
e2
(
s
->
i
);
18
}
19
20
static
inline
void
f2
(
int
i
)
21
{
22
int
j
=
j
;
23
j
=
e2
(
i
);
24
}
25
26
void
foo
(
int
i
)
27
{
28
f1
();
29
f2
(
i
);
30
}