------- Comment #5 from pinskia at gcc dot gnu dot org 2008-04-26 00:47 ------- Ok, this is a generic demangler issue, we don't demangle _Z1f3barILZ3bazEE either. Which is f(bar<baz>) but only because it is mangled incorrectly in the first place.
So the real issue here is that the demangle only handles correctly mangled names. _Z1f3barIL_Z3bazEE is the correct mangling. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36046