www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1805] New: GDC does not implement the D calling convention

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1805

           Summary: GDC does not implement the D calling convention
           Product: DGCC aka GDC
           Version: 0.24
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: major
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: larsivar igesund.net
OtherBugsDependingO 670,1230
             nThis:


From the GDC homepage:

"
Known Differences from DMD:
...
Currently, GDC uses the C calling convention for all functions except those
declared extern (Windows).
"

Considering that the spec doesn't mandate this to be an implementation specific
detail, this is a bug, which in addition cause several issues.


-- 
Jan 25 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1805





------- Comment #1 from clugdbug yahoo.com.au  2008-06-30 07:49 -------
Additionally: I don't think it should have D_InlineAsm set as long as it is
ignoring the ABI like this. (It should probably set GDC_InlineAsm_X86 instead).


-- 
Jun 30 2008