This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: Optionally use -mlong-double-128 by default on alpha-linux
- From: Richard Henderson <rth at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
- Date: Fri, 3 Feb 2006 07:29:33 -0800
- Subject: Re: patch: Optionally use -mlong-double-128 by default on alpha-linux
- References: <20060203113752.GA1820@redhat.com>
On Fri, Feb 03, 2006 at 07:37:52AM -0400, Aldy Hernandez wrote:
> +/* Implement TARGET_MANGLE_FUNDAMENTAL_TYPE. */
> +
> +static const char *
> +alpha_mangle_fundamental_type (tree type)
> +{
> +#ifdef ALPHA_LINUX
> + if (TYPE_MAIN_VARIANT (type) == long_double_type_node
> + && TARGET_LONG_DOUBLE_128)
> + return "g";
> +#endif
> +
> + /* For all other types, use normal C++ mangling. */
> + return NULL;
> +}
You can conditionalize the existance of the function on ALPHA_LINUX.
r~