]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/43740 (FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error))
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 18 Jun 2010 00:31:53 +0000 (00:31 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 18 Jun 2010 00:31:53 +0000 (00:31 +0000)
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
gcc/config/pa/pa.c

index f831d45445748e6747af3aa1dc04ee747ece4de2..9df18b5397a8b1b62feb887156778a09807a2a26 100644 (file)
@@ -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-13  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/44481
index 77597475ef1f1f68df098a6ee882cf244027779f..9671f4050ce53fc6a1903866a2cccc6e8905f092 100644 (file)
@@ -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