http://d.puremagic.com/issues/show_bug.cgi?id=10260

           Summary: core.atomic functions are marked nothrow but use asm
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Martin Nowak <[email protected]> 2013-06-03 17:19:46 PDT ---
cat > bug.d << CODE
import core.atomic;

void foo()
{
    shared bool value;
    atomicStore(value, false);
}
CODE

dmd -c -profile bug

...
Error: asm statments are assumed to throw
----

Strangely enough the error is only shown with -profile.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to