]>
Commit | Line | Data |
---|---|---|
2697b189 MP |
1 | /* PR tree-optimization/70725 */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O3" } */ | |
4 | /* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */ | |
5 | ||
6 | extern short a; | |
7 | extern int b, d; | |
8 | extern int c[100]; | |
9 | extern int e; | |
10 | extern int f; | |
11 | ||
12 | void | |
13 | fn1 () | |
14 | { | |
15 | for (; e < 2; e = e + 1) | |
16 | d = a; | |
17 | for (;;) | |
18 | for (int g = 0; g < 5; g = g + 1) | |
19 | for (int h = 0; h < 2; h = h + 1) | |
20 | for (int i = 0; i < 3; i = i + 1) | |
21 | c[f + i] = a && b; | |
22 | } |