[Bug testsuite/25327] New: g++.dg/compat/struct-layout-1.exp broken for installed compiler testing
jsm28 at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 9 15:37:00 GMT 2005
The newly added g++.dg/compat/struct-layout-1.exp is broken for installed
compiler testing. You get:
ERROR: tcl error sourcing
/scratch/gcc/nightly-2005-12-09-mainline/src/gcc-mainline/gcc/testsuite/g++.dg/compat/struct-layout-1.exp.
ERROR: can't read "rootme": no such variable
The corresponding gcc.dg tests were fixed for installed testing by:
2005-05-16 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/compat/generate-random.c (config.h): Do not include.
(limits.h): Include unconditionally.
(stdlib.h): Likewise.
* gcc.dg/compat/generate-random_r.c (config.h): Do not include.
(limits.h): Include unconditionally.
(stdlib.h): Likewise.
* gcc.dg/compat/struct-layout-1.exp: Do not link with libiberty.
* gcc.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.
--
Summary: g++.dg/compat/struct-layout-1.exp broken for installed
compiler testing
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25327
More information about the Gcc-bugs
mailing list