From bd0cf2bc687c95482ca6fd34046ffc13cffe2ad2 Mon Sep 17 00:00:00 2001
From: mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 9 Sep 2003 03:51:56 +0000
Subject: [PATCH] Fix thinko in last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71228 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/config/ia64/ia64.c | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index a6e5ff606430..56f2bb564e8b 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -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)
-- 
GitLab