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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr42771.c
blob
505fda7eb73341eb46363a7a5ce108645e77574e
1
/* { dg-options "-O3 -fgraphite-identity" } */
2
3
extern
int
*
A
;
4
extern
int
B
[][
4
];
5
extern
void
bar
(
void
);
6
7
void
foo
(
int
im
,
int
jm
,
int
cond
)
8
{
9
int
i
,
j
;
10
if
(
cond
) {
11
for
(
i
=
0
;
i
<
256
;
i
++)
12
A
[
i
] =
0
;
13
bar
();
14
}
15
for
(
i
=
0
;
i
<
im
;
i
++)
16
for
(
j
=
1
;
j
<
jm
;
j
++)
17
if
(
jm
!=
8
||
j
!=
jm
>>
1
)
18
B
[
j
][
0
] ^=
B
[
j
-
1
][
0
];
19
}