This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67252] Demangler fails on template conversion operator
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 Jan 2016 00:22:51 +0000
- Subject: [Bug c++/67252] Demangler fails on template conversion operator
- Auto-submitted: auto-generated
- References: <bug-67252-4 at http dot gcc dot gnu dot org/bugzilla/>
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