This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/67252] Demangler fails on template conversion operator


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2016-1-15
                 CC|                            |msebor at gcc dot gnu.org
      Known to fail|                            |4.9.3, 5.1.0, 6.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with a slightly simpler test case:

$ cat a.c && /home/msebor/build/gcc-trunk-svn/gcc/xgcc
-B/home/msebor/build/gcc-trunk-svn/gcc -Wall -Wextra -Wpedantic -xc++ a.c
template <class T>
struct C {
  template <class U>
  operator C<U>();
};

int main ()
{
    C<int>().operator C<double>();
}
/tmp/ccK7AudP.o: In function `main':
a.c:(.text+0x10): undefined reference to `_ZN1CIiEcvS_IT_EIdEEv'
collect2: error: ld returned 1 exit status

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]