Debian Codegraph @

gcc/testsuite/gcc.dg/vect/pr121059.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3 --param vect-partial-vector-usage=1" } */
3 /* { dg-additional-options "-march=x86-64-v4" { target avx512f } } */
4
5 typedef struct {
6 long left, right, top, bottom;
7 } MngBox;
8 typedef struct {
9 MngBox object_clip[6];
10 char exists[256], frozen[];
11 } MngReadInfo;
12 MngReadInfo mng_info;
13
14 long ReadMNGImage_i;
15
16 void ReadMNGImage(int ReadMNGImage_i)
17 {
18 for (; ReadMNGImage_i < 256; ReadMNGImage_i++)
19 if (mng_info.exists[ReadMNGImage_i] && mng_info.frozen[ReadMNGImage_i])
20 mng_info.object_clip[ReadMNGImage_i].left =
21 mng_info.object_clip[ReadMNGImage_i].right =
22 mng_info.object_clip[ReadMNGImage_i].top =
23 mng_info.object_clip[ReadMNGImage_i].bottom = 0;
24 }