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.dg
/
tree-ssa
/
ifc-pr71503.c
blob
5a90abfd10ed7b282195a65aff01796f368dfa8b
1
/* { dg-do compile } */
2
/* { dg-options "-Ofast" { target *-*-* } } */
3
4
int
a
,
b
;
5
unsigned long
d
;
6
void
fn1
() {
7
unsigned long
*
h
= &
d
;
8
line1
: {
9
int
i
=
4
;
10
for
(;
b
;
i
++) {
11
d
= ((
d
+
6
?: *
h
) ?
a
:
7
) && (
i
&=
0
>=
b
);
12
b
+=
a
;
13
}
14
}
15
h
=
0
;
16
for
(; *
h
;)
17
goto
line1
;
18
}