tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Incorrect demangling

On Sat, Apr 21, 2012 at 11:10:57AM -0400, Mouse wrote:
> I still maintain it's a bug;

Yes, it is a bug.

An easy papering over would be to have {g}cc invoke ld with the no-demangle
flag, but not {g}c++. This would cover your example, but (as you said) still
leave mixed C/C++ programs broken.

A real fix would involve changing the (de)mangling scheme and force usage
of a special character ("$" or something) in all mangled names. However,
this would break binary compatibility.

This should be solved upstream, any volunteers for opening a bugzilla ticket?


Home | Main Index | Thread Index | Old Index