[Bug c++/41233] Templated conversion operator produces symbol name that won't demangle

2010-02-25 Thread jim at clkda dot com
--- Comment #1 from jim at clkda dot com 2010-02-25 16:33 --- Created an attachment (id=19956) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19956&action=view) Preprocessor output of code that produces a symbol that can't be demangled. The symbol that can'

[Bug c++/41233] Templated conversion operator produces symbol name that won't demangle

2010-02-25 Thread jim at clkda dot com
--- Comment #2 from jim at clkda dot com 2010-02-25 16:35 --- I ran into this as well. My un-demanglable symbol is _ZNK3FooIPvEcvS_IT_EIiEEv. Here's my info and attached test case is demangle.ii: /usr/bin/g++4 -v -save-temps -c -o demangle.o demangle.ccUsing built-in specs. T

[Bug c++/41233] Templated conversion operator produces symbol name that won't demangle

2010-02-25 Thread jim at clkda dot com
--- Comment #3 from jim at clkda dot com 2010-02-25 20:01 --- I think the T_ is not handling the forward reference to the not-yet-specified first template parameter correctly. For the original example, replacing T_ with N4DestE gives something that *looks* right although is probably