[Bug 69] gcc.builtins should be nothrow, pure and probably @safe

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Jul 9 13:33:02 PDT 2013


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

--- Comment #12 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-07-09 20:33:02 UTC ---
(In reply to comment #11)
> 
> Yes, hence the "(along with all backend builtins)".
> 
> The only i386/x86_64 builtins that aren't marked as such are:
> 
> extern pure @system real __builtin_fabsq(in real);
> extern pure @system real __builtin_copysignq(in real, in real);

You can, of course, compile gcc.builtins module and generate a .di file to see
what builtins the compiler provides for your architecture, eg:

echo "module gcc.builtins;" > builtins.d;
gdc -fsyntax-only -fintfc builtins.d

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