digitalmars.D.bugs - [Issue 1252] New: Inline assembler: cannot use properties of types
- d-bugmail puremagic.com (25/25) May 31 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1252
- d-bugmail puremagic.com (6/6) Aug 25 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1252
- d-bugmail puremagic.com (8/8) Oct 26 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1252
- d-bugmail puremagic.com (12/12) Nov 29 2011 http://d.puremagic.com/issues/show_bug.cgi?id=1252
http://d.puremagic.com/issues/show_bug.cgi?id=1252 Summary: Inline assembler: cannot use properties of types Product: D Version: 1.014 Platform: PC OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: deewiant gmail.com Probably related to Bug 1173. void main() { int x; asm { mov x, x.max; } } The above code compiles. However, if you replace "x.max" with "int.max", DMD complains about "ptr expected". Replace it with "typeof(x).max" or add brackets around the expression and DMD complains about "nops expected". This can be worked around by using a temporary or constant. --
May 31 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1252 ------- Comment #1 from thomas-dloop kuehne.cn 2007-08-25 16:41 ------- Added to DStress as http://dstress.kuehne.cn/run/a/asm_05_A.d http://dstress.kuehne.cn/run/a/asm_05_B.d --
Aug 25 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1252 matti.niemenmaa+dbugzilla iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johnkirollos yahoo.com ------- Comment #2 from matti.niemenmaa+dbugzilla iki.fi 2007-10-26 13:10 ------- *** Bug 1614 has been marked as a duplicate of this bug. *** --
Oct 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1252 Trass3r <mrmocool gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmocool gmx.de Platform|x86 |All --- Comment #3 from Trass3r <mrmocool gmx.de> 2011-11-29 17:06:36 PST --- Using the .ptr property of an array doesn't work either. Neither does &arr. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 29 2011