www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 69] New: core.builtins should be nothrow, pure and probably safe

http://bugzilla.gdcproject.org/show_bug.cgi?id=69


           Summary: core.builtins should be nothrow, pure and probably
                     safe
    Classification: Unclassified
           Product: GDC
           Version: 4.8.x
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libgdruntime
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: Marco.Leise gmx.de


Working with std.simd I noticed that it states pure: nothrow:  safe: on top of
the module, but the compiler breaks on the GCC built-ins. I don't know if the
creation of built-in declarations got changed in the past, since it seems odd
that std.simd got created with an implementation that never compiled.
Anyway it seems safe to mark SIMD builtins nothrow,  safe and pure. After all
they work with CPU registers.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Jul 05 2013