[patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)
Joseph S. Myers
joseph@codesourcery.com
Sun Feb 24 01:40:00 GMT 2008
On Sun, 24 Feb 2008, Uros Bizjak wrote:
> 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.
Clearly testcases are needed (that the builtins operate as such in C99
mode, but are not accepted as constant expressions).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list