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
tree-optimization/111233 - loop splitting miscompile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr108816.c
blob
4c24d5584c18130e8278bec0e17d3294edf7bd68
1
/* { dg-do compile } */
2
/* { dg-additional-options "-fvect-cost-model=dynamic" } */
3
4
int
m
;
5
6
void
7
foo
(
int
p
[][
16
],
unsigned int
x
)
8
{
9
while
(
x
<
4
)
10
{
11
int
j
;
12
13
for
(
j
=
x
*
4
;
j
< (
x
+
1
) *
4
-
2
;
j
++)
14
p
[
0
][
j
] =
p
[
m
][
j
];
15
16
++
x
;
17
}
18
}