gcc/testsuite/g++.dg/vect/pr102696.cc
raw| 1 | // { dg-do compile } |
| 2 | // { dg-additional-options "-O3" } |
| 3 | // { dg-additional-options "-march=skylake-avx512" { target x86_64-*-* i?86-*-* } } |
| 4 | |
| 5 | int a; |
| 6 | extern bool b[][14]; |
| 7 | char h; |
| 8 | void f(short g[][14]) |
| 9 | { |
| 10 | for (short d = h; d < 21; d += 1) |
| 11 | for (unsigned char e = 0; e < 14; e += 1) |
| 12 | { |
| 13 | a = 0; |
| 14 | b[d][e] = g[d][e]; |
| 15 | } |
| 16 | } |