This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: snapshot 20010514: compression of mangled name
- To: Eberhard Mattes <mattes at azu dot informatik dot uni-stuttgart dot de>
- Subject: Re: snapshot 20010514: compression of mangled name
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: 22 May 2001 20:41:54 -0400
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200105222142.XAA23843@azu.informatik.uni-stuttgart.de>
Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de> writes:
> For the function in the input file
>
> struct foo {};
> void bar (void (foo::*)(int) const, void (foo::*)(int)) {}
>
> G++ snapshot 20010514 uses the mangled name
>
> _Z3barMK3fooFviEMS_FviE
>
> I think this should be
>
> _Z3barMK3fooFviEMS_S1_
Err, the first would demangle to:
bar(void (foo const::*)(int), void (foo::*)(int))
The second, to
bar(void (foo const::*)(int), void ()(int) foo::*)
Unless i'm on crack.
Nope. The demangler agrees with me, so unless we are both wrong, they
ain't the same.
Besides, the title implies you are trying to make the name smaller,
yet you've only saved 1 byte here.
>
> instead.
>
> --
> Eberhard Mattes
--
"I'd like to sing you a song now about my old girlfriend. It's
called, "They'll Find Her When the Leaves Blow Away 'Cause I'm
Not Raking 'Til Spring."
"-Steven Wright