Fix thinko in last patch.

From-SVN: r71228
This commit is contained in:
Mark Mitchell 2003-09-09 03:51:56 +00:00
parent 9649812aae
commit bf9ab6b657
1 changed files with 8 additions and 14 deletions

View File

@ -7695,6 +7695,7 @@ ia64_init_builtins (void)
= build_function_type_list (void_type_node, pdi_type_node, NULL_TREE);
tree fpreg_type;
tree float80_type;
/* The __fpreg type. */
fpreg_type = make_node (REAL_TYPE);
@ -7708,20 +7709,13 @@ ia64_init_builtins (void)
(*lang_hooks.types.register_builtin_type) (fpreg_type, "__fpreg");
/* The __float80 type. */
if (INTEL_EXTENDED_IEEE_FORMAT)
/* The __float80 type is a synonym for "long double". */
(*lang_hooks.types.register_builtin_type) (long_double_type_node,
"__float80");
else
{
tree float80_type = make_node (REAL_TYPE);
/* ??? Once the IA64 back end supports both 80-bit and 128-bit
floating types, this type should have XFmode, not TFmode.
TYPE_PRECISION should be 80 bits, not 128. */
TYPE_PRECISION (float80_type) = 128;
layout_type (float80_type);
(*lang_hooks.types.register_builtin_type) (float80_type, "__float80");
}
float80_type = make_node (REAL_TYPE);
/* ??? Once the IA64 back end supports both 80-bit and 128-bit
floating types, this type should have XFmode, not TFmode.
TYPE_PRECISION should be 80 bits, not 128. */
TYPE_PRECISION (float80_type) = 128;
layout_type (float80_type);
(*lang_hooks.types.register_builtin_type) (float80_type, "__float80");
/* The __float128 type. */
if (INTEL_EXTENDED_IEEE_FORMAT)