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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46177.c
blob
397e31634002218b5e188273ff7dd8278c0fe608
1
/* { dg-do compile } */
2
/* { dg-options "-O -fno-tree-copy-prop -ftree-loop-distribution" } */
3
4
extern
int
A
[];
5
extern
int
B
[];
6
7
void
8
foo
(
int
j
,
int
c
)
9
{
10
int
i
;
11
12
if
(
c
)
13
for
(
i
=
0
;
i
<
j
;
i
++)
14
A
[
i
] =
B
[
i
] =
0
;
15
16
for
(
i
=
0
;
i
<
j
;
i
++)
17
A
[
i
] =
B
[
i
];
18
}