[Issue 2617] asm silently accepts ambiguous-sized operations
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 21 07:46:26 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=2617
--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Walter Bright from comment #5)
> The following code:
>
> uint func()
> {
> asm
> {
> naked;
> inc long ptr [EAX];
> }
> }
>
> generates:
>
> __D5test24funcFZk:
> inc byte ptr [EAX] <== !!!!!
>
Filed as https://issues.dlang.org/show_bug.cgi?id=21181 so as not to confuse
this issue.
--
More information about the Digitalmars-d-bugs
mailing list