arm.md (movsi): Use can_create_pseudo_p instead of no_new_pseudos.
authorRichard Sandiford <richard@codesourcery.com>
Fri, 20 Jul 2007 09:20:24 +0000 (09:20 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 20 Jul 2007 09:20:24 +0000 (09:20 +0000)
gcc/
* config/arm/arm.md (movsi): Use can_create_pseudo_p instead of
no_new_pseudos.

From-SVN: r126798

gcc/ChangeLog
gcc/config/arm/arm.md

index 902c61d665917fc811cc6390387d660685871bc7..5e3d0b150326ece9b4bc56a8c518bde7eb1e1350 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/arm/arm.md (movsi): Use can_create_pseudo_p instead of
+       no_new_pseudos.
+
 2007-07-20  Zdenek Dvorak  <dvorakz@suse.cz>
 
        * function.c (thread_prologue_and_epilogue_insns): Fix exit
index 661ab044c026124561b541bc411e0c9ac15b3268..ab04176f402562415febf37c1f439971cd88f103 100644 (file)
       if (GET_CODE (base) == SYMBOL_REF
          && !offset_within_block_p (base, INTVAL (offset)))
        {
-         tmp = no_new_pseudos ? operands[0] : gen_reg_rtx (SImode);
+         tmp = can_create_pseudo_p () ? gen_reg_rtx (SImode) : operands[0];
          emit_move_insn (tmp, base);
          emit_insn (gen_addsi3 (operands[0], tmp, offset));
          DONE;