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
/
ssa-fre-52.c
blob
8b607d576acc513a63eb034b66ff594f926358cd
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre1" } */
3
4
void
bar
();
5
void
foo
(
int
n
)
6
{
7
if
(
n
>
0
)
8
{
9
int
j
=
0
;
10
do
11
{
12
if
(
n
>
0
)
13
{
14
int
i
=
0
;
15
do
16
{
17
bar
();
18
}
19
while
(
i
<
n
);
20
}
21
}
22
while
(
j
<
n
);
23
}
24
}
25
26
/* { dg-final { scan-tree-dump-times "if" 1 "fre1" } } */