Bug 16490 – Usage of attributes in inline asm blocks is not documented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-12T11:25:05Z
Last change time
2018-01-16T19:54:53Z
Assigned to
No Owner
Creator
Basile B.

Comments

Comment #0 by b2.temp — 2016-09-12T11:25:05Z
The page that specifies the usage of the inline assembler misses a paragraph explaining how the attributes are used, notably the effect of the nothrow attribute should be specified since asm nothrow {} is significally faster than asm {} The page dedicated to the attributes should contains links to this new paragraph (for pure and nothrow).
Comment #1 by github-bugzilla — 2018-01-16T19:54:53Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/cedefe6bc1afe192d393fc06199f244e3e611cf1 fix issue 16490 - Usage of attributes in inline asm blocks is not documented https://github.com/dlang/dlang.org/commit/853b2aebd4439dd5c53f642f543a148100ddf12e Merge pull request #2037 from BBasile/issue-16490 fix issue 16490 - Usage of attributes in inline asm blocks is not documented