Summary: Vararg corrupts string on 64bit
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: blocker
          Priority: P2
         Component: DMD
            Blocks: 6047,6576

--- Comment #0 from Nick Sabalausky <> 2011-11-21 
08:45:25 PST ---
Works on 32-bit, fails on 64-bit linux:

import core.vararg;

void foo(...)
    string str = *(cast(string*)_argptr);
    assert(str.length == 0);

void main()

This might be the same as issue 6758, but I'm not certain.

This may be the root cause of issue 6047 and issue 6576.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to