blob: c99d5c0e733b8476e050538f5d2c3129e70f28c7 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -ftree-vectorize -mxop -mavx2" } */
void *foo (int count, void **list)
{
void *minaddr = list[0];
int i;
for (i = 1; i < count; i++)
{
void *addr = list[i];
if (addr < minaddr)
minaddr = addr;
}
return minaddr;
}