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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr26600.c
blob
bbe0663da7e07bde0bc24fc88d1e5299849ea0ac
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -msse2" } */
3
4
void
foo
(
int
*
p
,
int
N
)
5
{
6
int
i
;
7
for
(
i
=
0
;
i
<
8
; ++
i
, ++
p
)
8
{
9
int
j
=
N
+
2
*(
N
+
p
[
0
]),
k
=
2
*
N
+
p
[
0
];
10
p
[
0
] =
j
+
N
;
11
p
[
5
] =
j
+
k
;
12
}
13
}
14