Summary: Inline assembler shouldn't assume operand size
Version: D1 & D2
--- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-01-28
06:07:52 PST ---
This assembler instruction compiles fine:
However, the code makes no indication of the memory size. DMD just assumes
The severity of this is increased by that at least one other inline assembler
(Delphi's) makes an incompatible assumption (it assumes "dword ptr").
I suggest that this behavior is made deprecated, and code compiled without -d
should be forced to disambiguate operand size.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------