]> 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:23:51 +0000 (00:23 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 18 Jun 2010 00:23:51 +0000 (00:23 +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: r160955

gcc/ChangeLog
gcc/config/pa/pa.c

index 78dfa0413fd32b1b02b66d3c9b8ba9f5d1abf6f5..69d49ff0a108dff198c8447c0458be087eacff55 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-17  Bernd Schmidt  <bernds@codesourcery.com>
 
        PR rtl-optimization/39871
index 024053e413fd99c4fdfea4d31f64215745792934..47486d73ba5a27952e451be1d83836d7b69c63f8 100644 (file)
@@ -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