Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr111435-1.c

raw
1 /* { dg-options "-fexceptions -fno-early-inlining" } */
2 /* { dg-require-effective-target exceptions } */
3
4 void find_slot_with_hash(const int *);
5
6 void put(const int *k, const int *) {
7 find_slot_with_hash(k);
8 }
9 unsigned len();
10 int *address();
11 void h(int header, int **bounds) {
12 if (!*bounds)
13 return;
14 unsigned t = *bounds ? len() : 0;
15 int queue_index = t;
16 address()[(unsigned)queue_index] = 0;
17 put(&header, &queue_index);
18 }