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]

other/8897: Demangling of template conversion operators


>Number:         8897
>Category:       other
>Synopsis:       Demangling of template conversion operators
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 10 21:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin v. Loewis
>Release:        3.2
>Organization:
>Environment:
System: Linux mira 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown
Architecture: i686

host: i486-suse-linux-gnu
build: i486-suse-linux-gnu
target: i486-suse-linux-gnu
configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
>Description:
The symbol _ZN1AIfEcvT_IiEEv demangles as
A<float>::operator float<int>()
This is incorrect; float is not a template. Better would be
A<float>::operator int()
which is the C++ syntax, but could be mistaken for the non-template operator.
Perhaps
A<float>::operator T()[T=int]
is appropriate
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


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