RFA: Please review the new C++ demangler patch

Benjamin Kosnik bkoz@redhat.com
Thu Jun 26 18:28:00 GMT 2003


>There are 2 problems:
>
>1. We have to modify every package which expects demangler in
>libiberty. It is bad for compatibility.

True. However, I think this is the way out. As long as it's properly
documented, I think this will be ok.

>2. libdemangle has few use for libstdc++. It is not a big deal,
>but maybe confusing to users.

Right. I was just using this to explain the idea. In reality, there
needs to be a __cxa_demangle in libsupc++, irregardless: libdemangle
should just link it from there and be done. Still, it's easier to
express the dependency info this way.

best,
benjamin



More information about the Gcc mailing list