digitalmars.D.bugs - [Bug 141] New: inline assembler treats "const float" and "float" differently
- d-bugmail puremagic.com (32/32) May 14 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=141
- d-bugmail puremagic.com (9/9) May 25 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=141
http://d.puremagic.com/bugzilla/show_bug.cgi?id=141 Summary: inline assembler treats "const float" and "float" differently Product: D Version: 0.157 Platform: PC OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: minor Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: thomas-dloop kuehne.cn compiles: void foo(){ float f = 1.2f; asm{ fld f; } } fails to compile with "unknown operand for floating point instruction" void bar(){ const f = 1.2f; asm{ fld f; } } test cases: http://dstress.kuehne.cn/run/a/asm_fld_01_A.d http://dstress.kuehne.cn/run/a/asm_fld_02_A.d --
May 14 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=141 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed 0.158 --
May 25 2006