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 tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr59014.c
blob
10bf81a462f235735d9dd52d6d54cc086b6de06e
1
/* PR tree-optimization/59014 */
2
3
int
a
=
2
,
b
,
c
,
d
;
4
5
int
6
foo
()
7
{
8
for
(;;
c
++)
9
if
((
b
>
0
) | (
a
&
1
))
10
;
11
else
12
{
13
d
=
a
;
14
return
0
;
15
}
16
}
17
18
int
19
main
()
20
{
21
foo
();
22
if
(
d
!=
2
)
23
__builtin_abort
();
24
return
0
;
25
}