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
PR ipa/61602
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr54409.c
blob
c7595474f5cd2aaafe260239b6da3d171e76eff6
1
/* { dg-do compile } */
2
3
int
b
;
4
5
struct
S
6
{
7
char
*
p
;
8
struct
{
9
}
s
;
10
int
a
;
11
};
12
13
static
_Bool
14
fn2
(
int
*
p1
)
15
{
16
if
(
b
)
17
{
18
struct
S
*
c
= (
struct
S
*) &
p1
;
19
return
c
->
a
;
20
}
21
}
22
23
_Bool
24
fn3
(
struct
S
*
p1
)
25
{
26
if
(
fn2
((
int
*) &
p1
->
s
))
27
return
0
;
28
}