From 53c5aa40b8ae611fc6ad98a8bf034234b05b50c5 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Fri, 18 Jun 2010 00:31:53 +0000 Subject: [PATCH] re PR target/43740 (FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error)) PR target/43740 config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag for SET source operand from SET destination operand. From-SVN: r160958 --- 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 f831d4544574..9df18b5397a8 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-13 Uros Bizjak PR target/44481 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 77597475ef1f..9671f4050ce5 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1680,10 +1680,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.47.2