summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr17635.c
blob: d2154c3f9513c6e03ace753fe55f895752e32084 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR 17635 */
/* Contributed by Devang Patel  <dpatel@apple.com>  */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */

void foo(int i)
{
  while (1)
    if (i) ++i;
}