This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap error with gcc-20020429 snapshot on mips-sgi-irix6.5


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]