* g++.dg/compat/struct-layout-1.exp: Do not link with libiberty.
* g++.dg/compat/struct-layout-1_generate.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. (hashtab.h): Do not include. (getopt.h): Likewise. (stddef.h): Include. (hashval_t): Define. (struct entry): Add "next" field. (HASH_SIZE): New macro. (hash_table): New variable. (switchfiles): Do not use xmalloc. (mix): New macro. (iterative_hash): New function. (hasht): Remove. (e_exists): New function. (e_insert): Likewise. (output): Use, instead of libiberty hashtable functions. (main): Do not use getopt. Do not call htab_create. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108461 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
Please register or sign in to comment