summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/torture/pr71261.c
blob: 7290368706f2b20a27746fbe3add32b2f351372b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */

extern int a, b, c, d, e, f;
void fn1()
{
  for (int g = 0; g < d; g = 1)
    for (int h = 0; h < 8; h = h + 2)
      for (int i = h; i < h + 2; i = i + 1)
	f = a && e || c && b;
}