[PATCH] These builtin functions set errno. Mark them accordingly.

Chandler Carruth chandlerc at google.com
Thu May 22 18:39:57 PDT 2014


On Thu, May 22, 2014 at 7:15 PM, Richard Smith <richard at metafoo.co.uk>wrote:

> Thoughts? What does GCC do? (If there's no libgcc equivalent, this is
> probably dead in the water since it won't work for people who don't use
> compiler-rt.)


GCC doesn't support using __builtin_blah in conjunction with -fmath-errno
to get non-errno-setting behavior. IE, it lacks the feature of Clang that
Hal and I like. =]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/9654a839/attachment.html>


More information about the cfe-commits mailing list