OSDN Git Service

* config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jul 2008 20:46:31 +0000 (20:46 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Jul 2008 20:46:31 +0000 (20:46 +0000)
RFmode constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137324 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 24766f8..96c684b 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-01  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow
+       RFmode constants.
+
 2008-07-01  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (ix86_build_signbit_mask): Generate TImode and
index d1928f6..de39ab1 100644 (file)
@@ -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;
 }