digitalmars.D.bugs - [Issue 15028] New: Weird disassembly on asm.dlang.org
- via Digitalmars-d-bugs (35/35) Sep 08 2015 https://issues.dlang.org/show_bug.cgi?id=15028
https://issues.dlang.org/show_bug.cgi?id=15028 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 Code --- void f() { const char* c="aaaaa"; g(c); } 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 ret --- The function is called with null argument? --
Sep 08 2015