[patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

Uros Bizjak ubizjak@gmail.com
Sun Feb 24 00:20:00 GMT 2008


Hello!

> > > +      /*darwin_patch_builtin (BUILT_IN_NANL);*/ /* Broken for now since it
> > > +        is defined as DEF_GCC_BUILTIN when it is also a C99 function.  */
>
> Note that this (builtin nan*) is bug 19984, which explains the history 
> behind the use of DEF_GCC_BUILTIN.
>   

Will attached patch fix this problem?

2008-02-24  Uros Bizjak  <ubizjak@gmail.com>

        PR middle-end/19984
        * builtins.def (BUILT_IN_NAN): Define as c99 builtin
        using DEF_C99_BUILTIN.
        (BUILT_IN_NANF): Ditto.
        (BUILT_IN_NANL): Ditto.

Bootstrapped on x86_64-linux-gnu, regression test is in progress.

Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080224/72dd4b89/attachment.txt>


More information about the Gcc-patches mailing list