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

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Fri Jul 5 02:24:33 PDT 2013


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

             Bug #: 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 at gdcproject.org
        ReportedBy: Marco.Leise at 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.


More information about the D.gnu mailing list