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/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr41888.c
blob
45df7df287eba9d2d866fa560bc12b3bdf7d584a
1
/* { dg-options "-g -O2 -ftree-loop-distribution -fgraphite-identity" } */
2
3
int
4
foo
(
int
*
x
)
5
{
6
int
a
[
10
],
b
[
10
];
7
int
i
;
8
a
[
9
] =
8
;
9
b
[
9
] =
8
;
10
for
(
i
=
0
;
i
<
9
;
i
++)
11
{
12
a
[
i
] = *
x
++;
13
b
[
i
] =
1
;
14
}
15
b
[
i
] =
b
[
i
] & !(
a
[
i
] ^ *
x
++);
16
return
b
[
i
] ?
i
+
1
:
0
;
17
}