This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap error with gcc-20020429 snapshot on mips-sgi-irix6.5
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>,Reichelt <reichelt at igpm dot rwth-aachen dot de>,gcc at gcc dot gnu dot org,Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 1 May 2002 14:44:42 +0200
- Subject: Re: Bootstrap error with gcc-20020429 snapshot on mips-sgi-irix6.5
- References: <200204301529.RAA78706@numa6.igpm.rwth-aachen.de> <200205011405.34528@enzo.bigblue.local> <wvl6628dqb1.fsf@prospero.cambridge.redhat.com>
On Wednesday 01 May 2002 14:07, Jason Merrill wrote:
> >>>>> "Franz" == Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> >
> > + if (strcmp (dname,
> > + IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (TREE_VALUE (t))))
> > + == 0)
> > + *p = TREE_CHAIN (t);
>
> Why not just compare against the DECL_ASSEMBLER_NAME of the decl?
So just
if (DECL_ASSEMBLER_NAME (decl) == DECL_ASSEMBLER_NAME (TREE_VALUE (t)))
*p = TREE_CHAIN (t);
is enough? It does what I want in this case, I just didn't know that duplicate
decls always have the same DECL_ASSEMBLER_NAME. I'm happy with that change
too, as long as it prevents duplicate .weak* directives to be emitted.
I restarted the bootstrap with this modification.
BTW, anyone knows why the libstdc++ testsuite has regressions now?
FAIL: 21_strings/inserters_extractors.cc execution test
FAIL: 26_numerics/complex_inserters_extractors.cc execution test
FAIL: 27_io/istream_extractor_arith.cc execution test
FAIL: 27_io/istream_sentry.cc execution test
FAIL: 27_io/istringstream_members.cc execution test
FAIL: 27_io/ostream_inserter_arith.cc execution test
FAIL: 27_io/stringstream_members.cc execution test
I see them on both powerpc-linux-gnu and x86-linux-gnu.
Franz.