aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2010-06-18 00:23:51 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2010-06-18 00:23:51 +0000
commit8ccfe1ab7947a51e92a7646ebed1f31e821d6437 (patch)
tree32cceed150191a18e498b3bf3cd166aaf00f775a
parent4963284e80ebb55f3bc14d62a413ae6d223ce99a (diff)
downloadgcc-8ccfe1ab7947a51e92a7646ebed1f31e821d6437.zip
gcc-8ccfe1ab7947a51e92a7646ebed1f31e821d6437.tar.gz
gcc-8ccfe1ab7947a51e92a7646ebed1f31e821d6437.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/pa/pa.c4
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 <dave.anglin@nrc-cnrc.gc.ca>
+
+ 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 <bernds@codesourcery.com>
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