From 08a576fb040c5bc593491270831e743befff5830 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 20 Jul 2007 09:20:24 +0000 Subject: [PATCH] arm.md (movsi): Use can_create_pseudo_p instead of no_new_pseudos. gcc/ * config/arm/arm.md (movsi): Use can_create_pseudo_p instead of no_new_pseudos. From-SVN: r126798 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 902c61d6659..5e3d0b15032 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-20 Richard Sandiford + + * config/arm/arm.md (movsi): Use can_create_pseudo_p instead of + no_new_pseudos. + 2007-07-20 Zdenek Dvorak * function.c (thread_prologue_and_epilogue_insns): Fix exit diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 661ab044c02..ab04176f402 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -4682,7 +4682,7 @@ 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; -- 2.30.2