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