Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 struct list_head { |
2 struct list_head *next, *prev; | |
3 }; | |
4 struct dm_exception { | |
5 struct list_head hash_list; | |
6 unsigned long long old_chunk; | |
7 unsigned long long new_chunk; | |
8 }; | |
9 struct dm_exception *dm_lookup_exception(struct list_head *table, unsigned long long chunk) { | |
10 struct list_head *slot; | |
11 struct dm_exception *e; | |
12 slot = &table[0]; | |
13 e = (struct dm_exception *)slot->next; | |
14 for (; &e->hash_list != (slot);) | |
15 if (chunk <= (e->new_chunk>>56)) | |
16 return e; | |
17 } |