From: John David Anglin Date: Fri, 18 Jun 2010 00:23:51 +0000 (+0000) Subject: re PR target/43740 (FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error)) X-Git-Tag: releases/gcc-4.6.0~6371 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ccfe1ab7947a51e92a7646ebed1f31e821d6437;p=thirdparty%2Fgcc.git 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: r160955 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 78dfa0413fd3..69d49ff0a108 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 024053e413fd..47486d73ba5a 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