[cfe-commits] [PATCH] Support gcc 4.4 C++0x builtins

Jeffrey Yasskin jyasskin at google.com
Mon Feb 14 09:09:18 PST 2011


Hearing no objections, I've commited this as r125492. Thanks for the
patch, John!

Howard, I don't have any plans to do anything with your trancendental
tests, although it would probably make sense to re-use them for C99
complex operations.

On Fri, Feb 11, 2011 at 11:03 PM, Jeffrey Yasskin <jyasskin at google.com> wrote:
> Thanks! I used this to build some more google code and ran into a
> couple more missing builtins from <complex>. Here's a patch that adds
> those too, which I've also attached to your bug.
>
> On Wed, Feb 9, 2011 at 1:53 AM, John Bytheway <jbytheway at gmail.com> wrote:
>> The attached patch adds support for the builtins defined in gcc 4.4's
>> <cmath> header in C++0x mode.  There is ample opportunity for error in
>> this patch, but it's been checked by both me and Marius Wachtler.  See
>>
>> http://llvm.org/bugs/show_bug.cgi?id=9138
>>
>> (I was asked to send the patch here after attaching it to the bug; this
>> one corrects the error Marius noticed in the one attached to the bug.)
>>
>> Note that I've added builtins purely on the basis of error messages
>> (either because their lack was indicated by an error, or because they
>> were the "<foo>" version where the "<foo>f" and "<foo>l" versions
>> appeared in errors).  I haven't looked at the standards to see what
>> functions really should exist.
>>
>> This work was inspired by
>> <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013168.html>
>> and related messages.
>>
>> John Bytheway
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
>




More information about the cfe-commits mailing list