www.digitalmars.com         C & C++   DMDScript  

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

reply 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
next sibling parent 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
prev sibling next sibling parent 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
prev sibling parent 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