OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr32584.c
1 typedef long unsigned int size_t;
2 typedef long int __ssize_t;
3 typedef struct
4 {
5 } __mbstate_t;
6 typedef struct
7 {
8 } _G_fpos64_t;
9 enum
10 {
11   __GCONV_INTERNAL_ERROR
12 };
13 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
14       size_t *);
15 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
16        unsigned char *, unsigned char *);
17 struct __gconv_trans_data
18 {
19 };
20 struct _IO_marker {
21 };
22 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
23      size_t __n);
24 typedef struct blockbox {
25 } *BBOXPTR, BBOX ;
26 typedef struct netbox {
27 } *NBOXPTR, NBOX ;
28 typedef struct termbox {
29     struct termbox *nextterm ;
30 } *TEBOXPTR, TEBOX ;
31 typedef struct tilebox {
32     TEBOXPTR termsptr ;
33 }
34 *TIBOXPTR ,
35 TIBOX ;
36 typedef struct cellbox {
37     TIBOXPTR tileptr ;
38 }
39 *CBOXPTR ,
40 CBOX ;
41 typedef struct dimbox {
42 }
43 DBOX ;
44 typedef struct rowbox {
45 } ROWBOX ;
46 typedef struct binbox {
47 }
48 CHANGRDBOX ;
49 extern int numcells ;
50 extern int numterms ;
51 sortpin()
52 {
53 int j , n , cell ;
54 CBOXPTR ptr ;
55 TIBOXPTR tile ;
56 TEBOXPTR term , *xpptr ;
57 for( cell = 1 ; cell <= numcells + numterms ; cell++ ) {
58     if( ( tile = ptr->tileptr ) == (TIBOXPTR) ((void *)0) ) {
59     }
60     n = 0 ;
61     for( term = tile->termsptr ; term != (TEBOXPTR) ((void *)0) ;
62       term = term->nextterm ) {
63  xpptr[ ++n ] = term ;
64     }
65     xpptr[ n + 1 ] = (TEBOXPTR) ((void *)0) ;
66     ptr->tileptr->termsptr = xpptr[ 1 ] ;
67     for( j = 1 ; j <= n ; j++ ) {
68     }
69 }
70 }
71