www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15028] New: Weird disassembly on asm.dlang.org


          Issue ID: 15028
           Summary: Weird disassembly on asm.dlang.org
           Product: D
           Version: D2
          Hardware: All
               URL: http://asm.dlang.org/
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: dfj1esp02 sneakemail.com

void f()
  const char* c="aaaaa";

extern void g(in char* s);

Gives disassembler output
void example.f():
    push   rbp
    mov    rbp,rsp
    mov    edi,0x0
    call   e <void example.f()+0xe>
    pop    rbp

The function is called with null argument?

Sep 08 2015