D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15028 - Weird disassembly on asm.dlang.org
Summary: Weird disassembly on asm.dlang.org
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL: http://asm.dlang.org/
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 08:39 UTC by anonymous4
Modified: 2019-12-23 11:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description anonymous4 2015-09-08 08:39:38 UTC
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 berni44 2019-12-23 11:00:56 UTC
asm.d-lang.org seems not to exist anymore...