OSDN Git Service

Fix thinko in last patch.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 03:51:56 +0000 (03:51 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 03:51:56 +0000 (03:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71228 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/ia64/ia64.c

index a6e5ff6..56f2bb5 100644 (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)