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

            Bug ID: 67252
           Summary: Demangler fails on template conversion operator
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ian at airs dot com
  Target Milestone: ---

When I compile this C++ code on x86_64 GNU/Linux:

class E {};

namespace n {

template<typename T1>
class C {
public:
  template<typename T2>
  operator C<T2>() { }
};

template<typename T>
class D {};

template
C<E>::operator C<E>();

}


I get this symbol: _ZN1n1CI1EEcvNS0_IT_EEIS1_EEv

The demangler fails to demangle that symbol.  It should demangle to something
like

n::C<E>::operator n::C<E>()

Reply via email to