1850 – The compiler accepts lower case asm registers.

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1850 - The compiler accepts lower case asm registers.
Summary: The compiler accepts lower case asm registers.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 All
: P2 normal
Assignee: Walter Bright
URL:
Keywords: accepts-invalid
Depends on:
Blocks:
Reported: 2008年02月18日 13:10 UTC by Aziz Köksal
Modified: 2014年02月24日 15:31 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Aziz Köksal 2008年02月18日 13:10:14 UTC
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...
Comment 1 Thomas Kühne 2008年02月25日 05:07:15 UTC
Added to DStress as
http://dstress.kuehne.cn/nocompile/a/asm_st_01_A.d
Comment 2 Walter Bright 2008年03月07日 00:31:36 UTC
Fixed dmd 1.028 and 2.012


AltStyle によって変換されたページ (->オリジナル) /