Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 01, 2010 [Issue 5302] New: Inline assembler: Indexing struct fields not possible inside member function | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5302 Summary: Inline assembler: Indexing struct fields not possible inside member function Product: D Version: unspecified Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: htvennik@zonnet.nl --- Comment #0 from Harry Vennik <htvennik@zonnet.nl> 2010-12-01 10:21:53 PST --- @ DMD 2.050 An instruction like: mov EAX, Struct.field[EDX]; compiles OK in free functions, but when inside a member function, the compiler complains about a wrong type of 'this' for type Struct. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 01, 2010 [Issue 5302] Inline assembler: Indexing struct fields not possible inside member function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Harry Vennik | http://d.puremagic.com/issues/show_bug.cgi?id=5302 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #1 from bearophile_hugs@eml.cc 2010-12-01 12:29:54 PST --- Please, if possible add a complete minimal program that shows the problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 02, 2010 [Issue 5302] Inline assembler: Indexing struct fields not possible inside member function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Harry Vennik | http://d.puremagic.com/issues/show_bug.cgi?id=5302 --- Comment #2 from Harry Vennik <htvennik@zonnet.nl> 2010-12-02 07:52:48 PST --- Created an attachment (id=836) Failing code -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 02, 2010 [Issue 5302] Inline assembler: Indexing struct fields not possible inside member function | ||||
---|---|---|---|---|
| ||||
Posted in reply to Harry Vennik | http://d.puremagic.com/issues/show_bug.cgi?id=5302 --- Comment #3 from Harry Vennik <htvennik@zonnet.nl> 2010-12-02 07:55:26 PST --- (From update of attachment 836) Compiling this results in the following error message: iasm_test.d(15): Error: this for i needs to be type S not type iasm_test.A iasm_test.d(15): bad type/size of operands '(__error).i' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation