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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr57875.c
blob
c3ae51b441f30d57e7f26afb359d2523013fbd5e
1
/* PR rtl-optimization/57875 */
2
3
extern
void
abort
(
void
);
4
int
a
[
1
],
b
,
c
,
d
,
f
,
i
;
5
char
e
[
1
];
6
7
int
8
main
()
9
{
10
for
(;
i
<
1
;
i
++)
11
if
(!
d
)
12
{
13
if
(!
c
)
14
f
=
2
;
15
e
[
0
] &=
f
^=
0
;
16
}
17
b
=
a
[
e
[
0
] >>
1
&
1
];
18
if
(
b
!=
0
)
19
abort
();
20
return
0
;
21
}