repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr44831.c
blob
5539583deb0c0429ee0d2162983a65e617917b4d
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
)
10
{
11
PNCB
*
ret
= &
queue
->
head
;
12
while
(
ret
&& *
ret
!=
ncb
)
13
ret
= (
PNCB
*)((*
ret
)->
ncb_reserve
+
sizeof
(
HANDLE
));
14
}
15