public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/25327] New: g++.dg/compat/struct-layout-1.exp broken for installed compiler testing
@ 2005-12-09 15:37 jsm28 at gcc dot gnu dot org
2006-09-09 0:04 ` [Bug testsuite/25327] " jsm28 at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-12-09 15:37 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug testsuite/25327] g++.dg/compat/struct-layout-1.exp broken for installed compiler testing
2005-12-09 15:37 [Bug testsuite/25327] New: g++.dg/compat/struct-layout-1.exp broken for installed compiler testing jsm28 at gcc dot gnu dot org
@ 2006-09-09 0:04 ` jsm28 at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-09-09 0:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jsm28 at gcc dot gnu dot org 2006-09-09 00:03 -------
This was fixed by
2005-12-13 Mark Mitchell <mark@codesourcery.com>
Jakub Jelinek <jakub@redhat.com>
* 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.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25327
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-09 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-09 15:37 [Bug testsuite/25327] New: g++.dg/compat/struct-layout-1.exp broken for installed compiler testing jsm28 at gcc dot gnu dot org
2006-09-09 0:04 ` [Bug testsuite/25327] " jsm28 at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).