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++/13304] New: [regression] demangler bad output, "operator<<" insteads of "operator< <"


The new demangler has a problem with:

  _ZStltI9file_pathSsEbRKSt4pairIT_T0_ES6_
  OLD: bool std::operator< <file_path, std::basic_string<char, std::char_traits<
char>, std::allocator<char> > >(std::pair<file_path, std::basic_string<char, std
::char_traits<char>, std::allocator<char> > > const&, std::pair<file_path, std::
basic_string<char, > std::char_traits<char>, std::allocator<char> > > const&)
  NEW: bool std::operator<<file_path, std::string>(std::pair<file_path, std::str
ing> const&, std::pair<file_path, std::string> const&)

This is a template for "operator<".  In a nutshell, "operator< <" is needed, but
the new demangler produces "operator<<" which will tokenize badly in gdb.

OLD demangler is c++filt from binutils 2.14.
NEW demangler is from binutils HEAD 2003-11-29 16:14:33 UTC.

-- 
           Summary: [regression] demangler bad output, "operator<<" insteads
                    of "operator< <"
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: c++
        AssignedTo: ian at wasabisystems dot com
        ReportedBy: mec at shout dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13304


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