summaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-20 09:20:24 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-20 09:20:24 +0000
commitb308ddcf15370d57055c6c52e8e46e06b020d1c1 (patch)
tree4a9c31236538fb3e024228f7c89f080d74aec736 /gcc/config/arm
parente08b2eb8f1be253d9f9c12eadcde1fca07abe191 (diff)
downloadgcc-b308ddcf15370d57055c6c52e8e46e06b020d1c1.tar.gz
gcc/
* config/arm/arm.md (movsi): Use can_create_pseudo_p instead of no_new_pseudos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/arm.md2
1 files changed, 1 insertions, 1 deletions
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;