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
/
pr68250.c
blob
f00234a07f04c6ab4ef31c3d80ac0bad31755806
1
/* PR rtl-optimization/68250 */
2
3
signed char
a
,
b
,
h
,
k
,
l
,
m
,
o
;
4
short
c
,
d
,
n
;
5
int
e
,
f
,
g
,
j
,
q
;
6
7
void
8
fn1
(
void
)
9
{
10
int
p
=
b
||
a
;
11
n
=
o
>
0
||
d
>
1
>>
o
?
d
:
d
<<
o
;
12
for
(;
j
;
j
++)
13
m
=
c
<
0
||
m
||
c
<<
p
;
14
l
=
f
+
1
;
15
for
(;
f
<
1
;
f
=
1
)
16
k
=
h
+
1
;
17
}
18
19
__attribute__
((
noinline
,
noclone
))
void
20
fn2
(
int
k
)
21
{
22
if
(
k
!=
1
)
23
__builtin_abort
();
24
}
25
26
int
27
main
()
28
{
29
signed char
i
;
30
for
(;
e
<
1
;
e
++)
31
{
32
fn1
();
33
if
(
k
)
34
i
=
k
;
35
if
(
i
>
q
)
36
g
=
0
;
37
}
38
fn2
(
k
);
39
return
0
;
40
}