ia64.c (ia64_cannot_force_const_mem): Do not allow RFmode constants.
authorSteve Ellcey <sje@cup.hp.com>
Tue, 1 Jul 2008 20:46:31 +0000 (20:46 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Tue, 1 Jul 2008 20:46:31 +0000 (20:46 +0000)
* config/ia64/ia64.c (ia64_cannot_force_const_mem): Do not allow
RFmode constants.

From-SVN: r137324

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

index 24766f8621f0c83d248106084332fde43d5bbb4a..96c684b942b1d5a0c1d94e280411d91d33ab8735 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 d1928f6b3c7490d413e379504109fada4b37ebaf..de39ab129468857f4ea9dd7162cf88c75e0fb4d6 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;
 }