aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr92371.c
blob: 0c78d32f471db9847dff95054a856995224490e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-additional-options "-ftree-vectorize" } */

int a, b;
void d()
{
  int c = sizeof(int);
  for (; a; a++)
    c *= sizeof(int);
  c *= sizeof(int);
  b = c;
}