aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-01-11 14:26:45 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-01-11 13:26:45 +0000
commitf749178de16d128dff0aa526c008ada1fe82884f (patch)
treedc96612bd1ac6a322e7da7d59ca697b7010c0246 /gcc
parent81d9f8df19e8bfd7678813403895c998e3561065 (diff)
downloadgcc-f749178de16d128dff0aa526c008ada1fe82884f.zip
gcc-f749178de16d128dff0aa526c008ada1fe82884f.tar.gz
gcc-f749178de16d128dff0aa526c008ada1fe82884f.tar.bz2
re PR target/25042 (__float128 ICE on x86)
PR target/25042 * i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128 From-SVN: r109582
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c11
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa20298..3624d2f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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.
* i386.c (x86_decompose_lea): Kill.
(ix86_rtx_costs): Kill.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 2b08ae2..7f8752f 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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. */