[Bug other/36046] Demangler fails on templates with non-type reference parameters

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 26 00:53:00 GMT 2008



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-04-26 00:53 -------
so all three versions mangle it differently
if we have f(bar<baz>)
1: _Z1f3barIXadL_Z3bazEEE
2: _Z1f3barILZ3bazEE
3: _Z1f3barIL_Z3bazEE
I think 3 is correct as the underscore is needed and the address is not
supplied..

but the default value is 2 right now

I don't know if we should "fix" up the mangler to accept version 2 at all.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36046



More information about the Gcc-bugs mailing list