Bug 13308 – AsmPrimaryExp documentation is incorrect

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-08-17T01:23:00Z
Last change time
2015-01-26T22:28:57Z
Keywords
iasm, pull, spec
Assigned to
nobody
Creator
briancschott
Blocks
10233

Comments

Comment #0 by briancschott — 2014-08-17T01:23:30Z
AsmPrimaryExp: IntegerLiteral FloatLiteral __LOCAL_SIZE $ Register Register64 DotIdentifier This grammar says nothing about segment overrides. (i.e. ":" being a valid token in a primary expression.) According to the spec this line in druntime's thread.d is invalid: asm { naked; mov EAX, FS:4; ret; }
Comment #1 by k.hara.pg — 2015-01-19T13:48:29Z
Comment #2 by github-bugzilla — 2015-01-19T14:46:07Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/0b033befd3b343ce95aaecac653ff1c74d332c03 fix Issue 13308 - AsmPrimaryExp documentation is incorrect Add grammar for segment overrides. https://github.com/D-Programming-Language/dlang.org/commit/7b221086467d13a2a5e7b82e82d5aabc6c3b8f78 Merge pull request #783 from 9rnsr/fix13308 Issue 13308 - AsmPrimaryExp documentation is incorrect
Comment #3 by github-bugzilla — 2015-01-26T22:28:57Z