www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16490] New: Usage of attributes in inline asm blocks is not

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 puremagic.com
          Reporter: b2.temp 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).

--
Sep 12 2016