This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, documentation] Patch for PR 33785, TARGET_C99_FUNCTIONS doc.
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 Feb 2009 17:21:26 +0100
- Subject: Re: [Patch, documentation] Patch for PR 33785, TARGET_C99_FUNCTIONS doc.
- References: <200902241618.n1OGIAl14091@lucas.cup.hp.com>
On Tue, Feb 24, 2009 at 5:18 PM, Steve Ellcey <sje@cup.hp.com> wrote:
> This patch fixes PR target/33785 which states that the default value of
> TARGET_C99_FUNCTIONS is 1. ?Actually the default value is 0.
>
> OK to checkin?
Ok.
Thanks,
Richard.
> Steve Ellcey
> sje@cup.hp.com
>
>
> 2009-02-24 ?Steve Ellcey ?<sje@cup.hp.com>
>
> ? ? ? ?PR target/33785
> ? ? ? ?* doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
>
>
> Index: doc/tm.texi
> ===================================================================
> --- doc/tm.texi (revision 144401)
> +++ doc/tm.texi (working copy)
> @@ -5228,9 +5228,9 @@ macro, a reasonable default is used.
> ?@defmac TARGET_C99_FUNCTIONS
> ?When this macro is nonzero, GCC will implicitly optimize @code{sin} calls into
> ?@code{sinf} and similarly for other functions defined by C99 standard. ?The
> -default is nonzero that should be proper value for most modern systems, however
> -number of existing systems lacks support for these functions in the runtime so
> -they needs this macro to be redefined to 0.
> +default is zero because a number of existing systems lack support for these
> +functions in their runtime so this macro needs to be redefined to one on
> +systems that do support the C99 runtime.
> ?@end defmac
>
> ?@cindex sincos math function, implicit usage
>