re PR target/25042 (__float128 ICE on x86)
authorJan Hubicka <jh@suse.cz>
Wed, 11 Jan 2006 13:26:45 +0000 (14:26 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 11 Jan 2006 13:26:45 +0000 (13:26 +0000)
PR target/25042
* i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128

From-SVN: r109582

gcc/ChangeLog
gcc/config/i386/i386.c

index aa20298926ca2d772bf40bab4c35819ae6fe52f7..3624d2fea59fba4db862e0573dedaec9e1cd416a 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-11  Jan Hubicka  <jh@suse.cz>
+
+       PR target/25042
+       * i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128
+
 2006-01-11  Jan Hubicka  <jh@suse.cz>
 
        * i386.h (TARGET_DECOMPOSE_LEA): Kill.
index 2b08ae2cd0296ba4a1e8829b9f683692de67f35d..7f8752f8099aba630150ae5c7fff1a7a2447a5ad 100644 (file)
@@ -14669,10 +14669,13 @@ ix86_init_mmx_sse_builtins (void)
       (*lang_hooks.types.register_builtin_type) (float80_type, "__float80");
     }
 
-  float128_type = make_node (REAL_TYPE);
-  TYPE_PRECISION (float128_type) = 128;
-  layout_type (float128_type);
-  (*lang_hooks.types.register_builtin_type) (float128_type, "__float128");
+  if (TARGET_64BIT)
+    {
+      float128_type = make_node (REAL_TYPE);
+      TYPE_PRECISION (float128_type) = 128;
+      layout_type (float128_type);
+      (*lang_hooks.types.register_builtin_type) (float128_type, "__float128");
+    }
 
   /* Add all builtins that are more or less simple operations on two
      operands.  */