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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-03-25 20:08 ` jakub at gcc dot gnu.org
@ 2011-04-28 16:49 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-28 16:49 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.1                       |---


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

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-11-18 14:02 ` hjl at gcc dot gnu.org
@ 2011-03-25 20:08 ` jakub at gcc dot gnu.org
  2011-04-28 16:49 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-25 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.0                       |4.6.1

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-25 19:53:11 UTC ---
GCC 4.6.0 is being released, adjusting target milestone.


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

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-16 21:23 ` hjl.tools at gmail dot com
@ 2010-11-18 14:02 ` hjl at gcc dot gnu.org
  2011-03-25 20:08 ` jakub at gcc dot gnu.org
  2011-04-28 16:49 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu.org @ 2010-11-18 14:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2010-11-18 13:24:05 UTC ---
Author: hjl
Date: Thu Nov 18 13:24:00 2010
New Revision: 166903

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166903
Log:
Update expected demangler output.

2010-11-18  H.J. Lu  <hongjiu.lu@intel.com>

    PR other/42670
    * testsuite/abi/demangle/regression/cw-13.cc: Updated.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/abi/demangle/regression/cw-13.cc


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

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
  2010-11-16 17:58 ` hjl at gcc dot gnu.org
  2010-11-16 18:54 ` hjl.tools at gmail dot com
@ 2010-11-16 21:23 ` hjl.tools at gmail dot com
  2010-11-18 14:02 ` hjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-16 21:23 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |hjl.tools at gmail dot com
         Resolution|FIXED                       |

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-16 21:13:09 UTC ---
A regression:

FAIL: abi/demangle/regression/cw-13.cc execution test

Proposed fix:

http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01725.html


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

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
  2010-11-16 17:58 ` hjl at gcc dot gnu.org
@ 2010-11-16 18:54 ` hjl.tools at gmail dot com
  2010-11-16 21:23 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-16 18:54 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-16 17:58:57 UTC ---
Fixed.


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

* [Bug other/42670] demangler doesn't completely demangle a global constructor symbol
       [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-16 17:58 ` hjl at gcc dot gnu.org
  2010-11-16 18:54 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu.org @ 2010-11-16 17:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2010-11-16 17:56:56 UTC ---
Author: hjl
Date: Tue Nov 16 17:56:50 2010
New Revision: 166810

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166810
Log:
Properly demangle a global constructor symbol.

2010-11-16  H.J. Lu  <hongjiu.lu@intel.com>

    PR other/42670
    PR binutils/11137
    * cp-demangle.c (d_make_demangle_mangled_name): New.
    (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.

    * testsuite/demangle-expected: Updated.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c
    trunk/libiberty/testsuite/demangle-expected


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

end of thread, other threads:[~2011-04-28 16:49 UTC | newest]

Thread overview: 12+ 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
     [not found] <bug-42670-4@http.gcc.gnu.org/bugzilla/>
2010-11-16 17:58 ` hjl at gcc dot gnu.org
2010-11-16 18:54 ` hjl.tools at gmail dot com
2010-11-16 21:23 ` hjl.tools at gmail dot com
2010-11-18 14:02 ` hjl at gcc dot gnu.org
2011-03-25 20:08 ` jakub at gcc dot gnu.org
2011-04-28 16:49 ` rguenth at gcc dot gnu.org

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