Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr70725.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 } |