Thread overview
[Issue 375] New: strange mangling of nested functions (".1", ".2", etc.)
Sep 26, 2006
d-bugmail
Nov 25, 2006
d-bugmail
Dec 17, 2006
d-bugmail
Dec 17, 2006
d-bugmail
September 26, 2006
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?


-- 

November 25, 2006
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.


-- 

December 17, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=375


dvdfrdmn@users.sf.net changed:

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




-- 

December 17, 2006
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


--