www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1850] New: The compiler accepts lower case asm registers.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1850

           Summary: The compiler accepts lower case asm registers.
           Product: D
           Version: 1.024
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: aziz.kerim gmail.com


The specs say: "Register names are always in upper case."

asm
{
  fstp st(1), st(0); // No error given.
  fstp ST(1), ST(0); // Correct.
}

I don't know if there are other cases...


-- 
Feb 18 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1850






Added to DStress as
http://dstress.kuehne.cn/nocompile/a/asm_st_01_A.d


-- 
Feb 25 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1850


bugzilla digitalmars.com changed:

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





Fixed dmd 1.028 and 2.012


-- 
Mar 06 2008