Debian Codegraph @

gcc/testsuite/gcc.dg/vect/vect-early-break_104-pr113373.c

raw
1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
3 /* { dg-require-effective-target vect_early_break } */
4
5 struct asCArray {
6 unsigned *array;
7 int length;
8 };
9 unsigned asCReaderTranslateFunction(struct asCArray b, unsigned t)
10 {
11 int size = 0;
12 for (unsigned num; num < t; num++)
13 {
14 if (num >= b.length)
15 __builtin_abort();
16 size += b.array[num];
17 }
18 return size;
19 }