demangler screwed up

Dima Volodin dvv@dvv.ru
Thu Nov 5 11:35:00 GMT 1998


It doesn't work when there's __ in names. In my case it was

__opt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0__1C

which is supposed to be demangled into

C::operator basic_string <char, string_char_traits <char>,
__default_alloc_template <false, 0>> (void)

Granted, having __ in names is not a good idea, but that's how STL comes
with egcs.

Cheers

Dima



More information about the Gcc-bugs mailing list