* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr44831.c
blob5539583deb0c0429ee0d2162983a65e617917b4d
1 typedef unsigned char UCHAR, *PUCHAR;
2 typedef void *HANDLE;
3 typedef struct _NCB {
4 UCHAR ncb_reserve[10];
5 } NCB, *PNCB;
6 struct NBCmdQueue {
7 PNCB head;
8 };
9 PNCB *NBCmdQueueFindNBC(struct NBCmdQueue *queue, PNCB ncb)
11 PNCB *ret = &queue->head;
12 while (ret && *ret != ncb)
13 ret = (PNCB *)((*ret)->ncb_reserve + sizeof(HANDLE));