testsuite: Revert to the original version of pr100056.c
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr98308.c
blobd74431200c74ff7c622bebe893c4d22ff9e468b1
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-march=skylake-avx512" { target x86_64-*-* i?86-*-* } } */
4 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
6 extern unsigned long long int arr_86[];
7 extern unsigned long long int arr_87[][15];
9 void test(_Bool a, unsigned short c[][15], unsigned char d[])
11 for (short h = 0; h < 10; h++)
12 for (char i = 0; i < 15; i += 2)
14 arr_86[0] = d[0];
15 arr_87[h][0] = a ? c[h][i] : 0;
18 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */