Bug 15028 – Weird disassembly on asm.dlang.org

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-08T08:39:38Z
Last change time
2019-12-23T11:00:56Z
Assigned to
No Owner
Creator
anonymous4

Comments

Comment #0 by dfj1esp02 — 2015-09-08T08:39:38Z
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?
Comment #1 by bugzilla — 2019-12-23T11:00:56Z
asm.d-lang.org seems not to exist anymore...