[Bug c++/88413] g++ mangles names involving unresolved names in function argument template parameters differently from the ABI standard.

brennan at umanwizard dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 8 02:50:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88413

--- Comment #4 from brennan at umanwizard dot com ---
Investigating a bit more, it seems Apple patched their c++filt to just call
into __cxa_demangle in their own libc++abi , so it makes sense that c++filt on
macOS matches clang and on Linux matches g++.

I tried an old version of (real GNU) c++filt from 2005 and they match the
current behavior, so it doesn't seem to be a new thing.


More information about the Gcc-bugs mailing list