May 14, 2006
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 25, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=141


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2006-05-25 04:24 -------
Fixed 0.158


--