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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr51235.c
blob
c99d5c0e733b8476e050538f5d2c3129e70f28c7
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vectorize -mxop -mavx2" } */
3
4
void
*
foo
(
int
count
,
void
**
list
)
5
{
6
void
*
minaddr
=
list
[
0
];
7
int
i
;
8
9
for
(
i
=
1
;
i
<
count
;
i
++)
10
{
11
void
*
addr
=
list
[
i
];
12
if
(
addr
<
minaddr
)
13
minaddr
=
addr
;
14
}
15
16
return
minaddr
;
17
}