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
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46177-2.c
blob
91fd20e75508c028533fed557e317e4a2a2059b2
1
/* { dg-do compile } */
2
/* { dg-options "-O -fno-tree-copy-prop -ftree-loop-distribution" } */
3
4
int
A
[
30
],
B
[
30
];
5
6
void
7
foo
(
int
j
)
8
{
9
int
i
,
k
;
10
for
(
k
=
0
;
k
<
10
;
k
++)
11
if
(
j
)
12
{
13
for
(;
j
<
k
;
j
++)
14
;
15
for
(
i
=
0
;
i
<
k
;
i
++)
16
A
[
i
] =
B
[
i
] =
0
;
17
}
18
}