From 89bab95921970a945ad58a143f71a0dca038a495 Mon Sep 17 00:00:00 2001 From: danglin Date: Fri, 18 Jun 2010 00:23:51 +0000 Subject: [PATCH] PR target/43740 config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag for SET source operand from SET destination operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160955 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.c | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 78dfa04..69d49ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-06-17 John David Anglin + + PR target/43740 + config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag for + SET source operand from SET destination operand. + 2010-06-17 Bernd Schmidt PR rtl-optimization/39871 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 024053e..47486d7 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1696,10 +1696,6 @@ emit_move_sequence (rtx *operands, enum machine_mode mode, rtx scratch_reg) && !REG_POINTER (operand0) && !HARD_REGISTER_P (operand0)) copy_reg_pointer (operand0, operand1); - else if (REG_POINTER (operand0) - && !REG_POINTER (operand1) - && !HARD_REGISTER_P (operand1)) - copy_reg_pointer (operand1, operand0); } /* When MEMs are broken out, the REG_POINTER flag doesn't -- 2.7.4