← Back to index
|
Original Bugzilla link
Bug 17021 – Invalid code generated for out parameters in naked asm functions
Status
NEW
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-12-23T08:47:48Z
Last change time
2024-12-13T18:51:06Z
Keywords
iasm
Assigned to
No Owner
Creator
Răzvan Ștefănescu
Moved to GitHub: dmd#19219 →
Comments
Comment #0
by rumbu — 2016-12-23T08:47:48Z
Despite the naked statement, the inline assembler emits initialization code of out parameters: void test(out int x) { asm { naked; ret; } } generated code inside the function: mov EAX, [EBP -4]; mov dword ptr [EAX], 0; ret;
Comment #1
by robert.schadek — 2024-12-13T18:51:06Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19219
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB