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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr22422.c
blob
bc176f9699af39acff8ab15b2fc853d4b7aba825
1
/* We should not crash trying to figure out the points-to sets for the below. We used to because we
2
ended up adding pointers to the points-to set of the ANYTHING variable. */
3
struct
D
4
{
5
int
n
;
6
int
c
[
8
];
7
};
8
9
struct
A
10
{
11
int
i
;
12
char
*
p
;
13
};
14
15
struct
B
16
{
17
struct
A
*
a
;
18
struct
D
*
d
;
19
};
20
21
int
dtInsert1
(
struct
B
*
b
)
22
{
23
struct
A a
= {
0
,
0
};
24
struct
D
*
d
;
25
b
->
a
= &
a
;
26
d
=
b
->
d
;
27
&
d
->
c
[
d
->
n
];
28
return
0
;
29
}
30