public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/8897: Demangling of template conversion operators
@ 2002-12-10 21:56 Martin v. Loewis
  0 siblings, 0 replies; only message in thread
From: Martin v. Loewis @ 2002-12-10 21:56 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-11  5:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10 21:56 other/8897: Demangling of template conversion operators Martin v. Loewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).