This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: couple of fixes for cp-demangle.c
>>>>> "Zack" == Zack Weinberg <zack@wolery.cumb.org> writes:
Zack> I was going to throw in support for your Java builtin types,
Zack> but u is expected to be followed by a <source-name> not a
Zack> code letter - implying that __java_int ought to be mangled
Zack> as u10__java_int not uji. Or is there more leeway in the
Zack> spec?
I blew it completely with that patch -- and backed it out straight
away. `__java_int' should actually be mangled like `int'.
Zack> c++filt requires you to give '-s gnu-new-abi' on the command
Zack> line before it will recognize new mangled names; I don't
Zack> know how to fix this.
Me neither. Alex? We could look for `_Z' at the beginning of a name;
all new mangled names start like that.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com