summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/O-pr46167.c
blob: 490ddd4572609a1649b3f58e897b6f8944a39f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */

int foo (char c, int i)
{
  int s = 0;
  while (i--)
    s += c;
  return s;
}

/* { dg-final { cleanup-tree-dump "vect" } } */