[Bug c++/67252] Demangler fails on template conversion operator
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 16 00:22:00 GMT 2016
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
More information about the Gcc-bugs
mailing list