From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- gcc/testsuite/gcc.c-torture/compile/pr32584.c | 74 +++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/pr32584.c (limited to 'gcc/testsuite/gcc.c-torture/compile/pr32584.c') diff --git a/gcc/testsuite/gcc.c-torture/compile/pr32584.c b/gcc/testsuite/gcc.c-torture/compile/pr32584.c new file mode 100644 index 000000000..403ea9b12 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr32584.c @@ -0,0 +1,74 @@ +typedef __SIZE_TYPE__ size_t; +/* Kludge */ +#define unsigned +typedef __SIZE_TYPE__ __ssize_t; +#undef unsigned +typedef struct +{ +} __mbstate_t; +typedef struct +{ +} _G_fpos64_t; +enum +{ + __GCONV_INTERNAL_ERROR +}; +typedef int (*__gconv_trans_fct) (struct __gconv_step *, + size_t *); +typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, + unsigned char *, unsigned char *); +struct __gconv_trans_data +{ +}; +struct _IO_marker { +}; +typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, + size_t __n); +typedef struct blockbox { +} *BBOXPTR, BBOX ; +typedef struct netbox { +} *NBOXPTR, NBOX ; +typedef struct termbox { + struct termbox *nextterm ; +} *TEBOXPTR, TEBOX ; +typedef struct tilebox { + TEBOXPTR termsptr ; +} +*TIBOXPTR , +TIBOX ; +typedef struct cellbox { + TIBOXPTR tileptr ; +} +*CBOXPTR , +CBOX ; +typedef struct dimbox { +} +DBOX ; +typedef struct rowbox { +} ROWBOX ; +typedef struct binbox { +} +CHANGRDBOX ; +extern int numcells ; +extern int numterms ; +sortpin() +{ +int j , n , cell ; +CBOXPTR ptr ; +TIBOXPTR tile ; +TEBOXPTR term , *xpptr ; +for( cell = 1 ; cell <= numcells + numterms ; cell++ ) { + if( ( tile = ptr->tileptr ) == (TIBOXPTR) ((void *)0) ) { + } + n = 0 ; + for( term = tile->termsptr ; term != (TEBOXPTR) ((void *)0) ; + term = term->nextterm ) { + xpptr[ ++n ] = term ; + } + xpptr[ n + 1 ] = (TEBOXPTR) ((void *)0) ; + ptr->tileptr->termsptr = xpptr[ 1 ] ; + for( j = 1 ; j <= n ; j++ ) { + } +} +} + -- cgit v1.2.3