aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr92461.c
blob: 1d059070682cc37838957252ca8c109fb3d28b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */
/* { dg-additional-options "-ftree-vectorize" } */

short int zb;

void
gs (void)
{
  while (zb < 1)
    {
      int at;

      zb %= 1;

      for (at = 0; at < 56; ++at)
	zb += zb;

      ++zb;
    }
}