[Issue 16490] New: Usage of attributes in inline asm blocks is not documented

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 12 04:25:05 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16490

          Issue ID: 16490
           Summary: Usage of attributes in inline asm blocks is not
                    documented
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

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).

--


More information about the Digitalmars-d-bugs mailing list