[Issue 18826] New: [inline asm] Wrongcode for mov

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 4 14:15:06 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18826

          Issue ID: 18826
           Summary: [inline asm] Wrongcode for mov
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: uplink.coder at gmail.com

the following code does get mis-compiled. 
ulong getThreadID()
{
    asm { naked; mov RAX, qword ptr FS:0x0 }
}

--


More information about the Digitalmars-d-bugs mailing list