This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: Optionally use -mlong-double-128 by default on alpha-linux


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]