[Issue 13147] Wrong codegen for thisptr in naked extern (C++) methods
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 2 18:33:46 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=13147
safety0ff.bugz <safety0ff.bugz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |safety0ff.bugz at gmail.com
--- Comment #4 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
(In reply to Walter Bright from comment #3)
>
> And you'd be right.
>
> https://github.com/D-Programming-Language/dmd/pull/4921
Does this fix the struct case as well?
struct S { void foo() { asm { naked; ret; } } }
I just hit this bug.
--
More information about the Digitalmars-d-bugs
mailing list