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
Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr43560.c
blob
44abb80b193bd2064d0184b3aa94cc2e00b017de
1
/* { dg-do run } */
2
/* { dg-require-weak "" } */
3
4
int
g_6
[
1
][
2
] = {{
1
,
1
}};
5
int
g_34
=
0
;
6
int
*
const
g_82
= &
g_6
[
0
][
1
];
7
int
*
g_85
[
2
][
1
]
__attribute__
((
weak
));
8
9
void
__attribute__
((
noinline
))
10
func_4
(
int
x
)
11
{
12
int
i
;
13
for
(
i
=
0
;
i
<=
x
;
i
++) {
14
if
(
g_6
[
0
][
1
]) {
15
*
g_82
=
1
;
16
}
else
{
17
int
**
l_109
= &
g_85
[
1
][
0
];
18
if
(&
g_82
!=
l_109
) {
19
}
else
{
20
*
l_109
= &
g_6
[
0
][
1
];
21
}
22
*
g_82
=
1
;
23
}
24
}
25
}
26
27
int
main
(
void
)
28
{
29
g_85
[
0
][
0
] = &
g_34
;
30
g_85
[
1
][
0
] = &
g_34
;
31
func_4
(
1
);
32
return
0
;
33
}
34