public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/42670]  New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol
@ 2010-01-09 10:04 debian-gcc at lists dot debian dot org
  2010-01-09 10:19 ` [Bug other/42670] " paolo dot carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2010-01-09 10:04 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/561150]

$ echo _GLOBAL__I__Z10convertKeyPKc | c++filt
global constructors keyed to _Z10convertKeyPKc
$ echo _GLOBAL__I__Z10convertKeyPKc | c++filt | c++filt
global constructors keyed to convertKey(char const*)


-- 
           Summary: c++filt/nm --demangle doesn't completely demangle a
                    global constructors symbol
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/42670] c++filt/nm --demangle doesn't completely demangle a global constructors symbol
  2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
@ 2010-01-09 10:19 ` paolo dot carlini at oracle dot com
  2010-01-09 16:23 ` [Bug other/42670] demangler " hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-01-09 10:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo dot carlini at oracle dot com  2010-01-09 10:19 -------
c++filt is part of binutils and indeed the PR is about binutils, thus doesn't
belong here. If you have strong reasons to believe GCC is at fault, please
explain and reopen.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/42670] demangler doesn't completely demangle a global constructors symbol
  2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
  2010-01-09 10:19 ` [Bug other/42670] " paolo dot carlini at oracle dot com
@ 2010-01-09 16:23 ` hjl dot tools at gmail dot com
  2010-01-09 18:16 ` ian at airs dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-09 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-01-09 16:23 -------
libiberty/testsuite/demangle-expected has

---
--format=gnu-v3 --no-params
_GLOBAL__I__Z2fnv
global constructors keyed to _Z2fnv
global constructors keyed to _Z2fnv
---

Shouldn't it be

global constructors keyed to fn()


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |
            Summary|c++filt/nm --demangle       |demangler doesn't completely
                   |doesn't completely demangle |demangle a global
                   |a global constructors symbol|constructors symbol


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/42670] demangler doesn't completely demangle a global constructors symbol
  2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
  2010-01-09 10:19 ` [Bug other/42670] " paolo dot carlini at oracle dot com
  2010-01-09 16:23 ` [Bug other/42670] demangler " hjl dot tools at gmail dot com
@ 2010-01-09 18:16 ` ian at airs dot com
  2010-01-09 18:43 ` [Bug other/42670] demangler doesn't completely demangle a global constructor symbol hjl dot tools at gmail dot com
  2010-01-09 19:07 ` paolo dot carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2010-01-09 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ian at airs dot com  2010-01-09 18:16 -------
c++filt is part of the binutils, but it just runs the demangler which is part
of gcc.  Any change here will be a change to the demangler.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
  2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2010-01-09 18:16 ` ian at airs dot com
@ 2010-01-09 18:43 ` hjl dot tools at gmail dot com
  2010-01-09 19:07 ` paolo dot carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-09 18:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2010-01-09 18:43 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00446.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2010-
                   |                            |01/msg00446.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-09 18:43:39
               date|                            |
            Summary|demangler doesn't completely|demangler doesn't completely
                   |demangle a global           |demangle a global
                   |constructors symbol         |constructor symbol


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
  2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2010-01-09 18:43 ` [Bug other/42670] demangler doesn't completely demangle a global constructor symbol hjl dot tools at gmail dot com
@ 2010-01-09 19:07 ` paolo dot carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-01-09 19:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2010-01-09 19:07 -------
Oops, sorry, I stand corrected, needed some sleep... indeed, that reminds me...
other/42230 !! ;)


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-09 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-09 10:04 [Bug other/42670] New: c++filt/nm --demangle doesn't completely demangle a global constructors symbol debian-gcc at lists dot debian dot org
2010-01-09 10:19 ` [Bug other/42670] " paolo dot carlini at oracle dot com
2010-01-09 16:23 ` [Bug other/42670] demangler " hjl dot tools at gmail dot com
2010-01-09 18:16 ` ian at airs dot com
2010-01-09 18:43 ` [Bug other/42670] demangler doesn't completely demangle a global constructor symbol hjl dot tools at gmail dot com
2010-01-09 19:07 ` paolo dot carlini at oracle dot com

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).