summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr23048.c
blob: 7dc67ea29c4012d86d1ea80f19d218a72e0f7c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize" } */

void f(unsigned char *mem)
{
   int i;

   for(i=0;i<4;i++) {
     while(mem[i]==0) ;
   }
}