From 103a6411005d1807b6ab5dc24033b283b59a6fa1 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 1 Jul 2008 20:46:31 +0000 Subject: [PATCH] ia64.c (ia64_cannot_force_const_mem): Do not allow RFmode constants. * config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow RFmode constants. From-SVN: r137324 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/ia64.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24766f8621f..96c684b942b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-01 Steve Ellcey + + * config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow + RFmode constants. + 2008-07-01 Uros Bizjak * config/i386/i386.c (ix86_build_signbit_mask): Generate TImode and diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index d1928f6b3c7..de39ab12946 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -781,6 +781,8 @@ ia64_legitimate_constant_p (rtx x) static bool ia64_cannot_force_const_mem (rtx x) { + if (GET_MODE (x) == RFmode) + return true; return tls_symbolic_operand_type (x) != 0; } -- 2.30.2