www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - [Issue 375] New: strange mangling of nested functions (".1", ".2", etc.)

↑ ↓ ← d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=375

           Summary: strange mangling of nested functions (".1", ".2", etc.)
           Product: GDC
           Version: 0.19
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: braddr puremagic.com
        ReportedBy: thomas-dloop kuehne.cn


strange mangling of nested functions:

#
# void outer(){
#    void intra(){
#       void inner(){
#          void center(){
#          }
#       }
#    }
# }
#

GDC-svn-r20:
_D1a5outerFZv
_D1a5outerFZv5intraFZv
_D1a5outerFZv5intraFZv5innerFZv.1
_D1a5outerFZv5intraFZv5innerFZv6centerFZv.2

DMD-0.166:
_D1a5outerFZv
_D1a5outerFZv5intraFZv
_D1a5outerFZv5intraFZv5innerFZv
_D1a5outerFZv5intraFZv5innerFZv6centerFZv

Inner's ".1" and center's ".2" aren't documented.

Are they intentional?
If so, how should a demangler represent them?


-- 
Sep 26 2006
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=375


braddr puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|braddr puremagic.com        |dvdfrdmn users.sf.net




------- Comment #1 from braddr puremagic.com  2006-11-25 15:08 -------
Mass reassignment of gdc bugs from me to David.


-- 
Nov 25 2006
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=375


dvdfrdmn users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




-- 
Dec 16 2006
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=375


dvdfrdmn users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from dvdfrdmn users.sf.net  2006-12-16 21:20 -------
Fixed in GDC 0.20


-- 
Dec 16 2006