[PATCH] Fix mangle_conv_op_name_for_type
Mark Mitchell
mark@codesourcery.com
Mon Jun 23 16:05:00 GMT 2003
On Mon, 2003-06-23 at 08:29, Franz Sirl wrote:
> At 17:00 23.06.2003, Jakub Jelinek wrote:
> >Hi!
> >
> >GCC post 2003-06-17 segfaults when the hash table in
> >mangle_conv_op_name_for_type is htab_expand'ed for the first time.
> >Committed as obvious to TRUNK and 3.3 branch.
> >
> >2003-06-23 Jakub Jelinek <jakub@redhat.com>
> >
> > * mangle.c (hash_type): val is the TREE_LIST itself, not a pointer
> > to it.
> >
> > * g++.dg/opt/operator1.C: New test.
>
> This is PR 11249 BTW. Unfortunately it seems it's only a partial fix. Try
> the attached testcase to see the tree check failure reported in PR 11274.
The PR 11274 testcase passes, and this one seems to have lots of other
errors such as:
/usr/include/c++/3.3/bits/locale_facets.h: In constructor `
std::collate_byname<_CharT>::collate_byname(const char*, unsigned
int)':
/usr/include/c++/3.3/bits/locale_facets.h:1072: error:
`_M_c_locale_collate' has not been declared
?
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
More information about the Gcc-patches
mailing list