annotate gcc/testsuite/gcc.c-torture/compile/20120913-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 struct list_head {
kono
parents:
diff changeset
2 struct list_head *next, *prev;
kono
parents:
diff changeset
3 };
kono
parents:
diff changeset
4 struct dm_exception {
kono
parents:
diff changeset
5 struct list_head hash_list;
kono
parents:
diff changeset
6 unsigned long long old_chunk;
kono
parents:
diff changeset
7 unsigned long long new_chunk;
kono
parents:
diff changeset
8 };
kono
parents:
diff changeset
9 struct dm_exception *dm_lookup_exception(struct list_head *table, unsigned long long chunk) {
kono
parents:
diff changeset
10 struct list_head *slot;
kono
parents:
diff changeset
11 struct dm_exception *e;
kono
parents:
diff changeset
12 slot = &table[0];
kono
parents:
diff changeset
13 e = (struct dm_exception *)slot->next;
kono
parents:
diff changeset
14 for (; &e->hash_list != (slot);)
kono
parents:
diff changeset
15 if (chunk <= (e->new_chunk>>56))
kono
parents:
diff changeset
16 return e;
kono
parents:
diff changeset
17 }