aarch64.c (aarch64_expand_prologue): add the missing argument 'Pmode' to the 'plus_co...
authorYufeng Zhang <yufeng.zhang@arm.com>
Wed, 7 Nov 2012 16:13:27 +0000 (16:13 +0000)
committerYufeng Zhang <yufeng@gcc.gnu.org>
Wed, 7 Nov 2012 16:13:27 +0000 (16:13 +0000)
gcc/ChangeLog

2012-11-07  Yufeng Zhang  <yufeng.zhang@arm.com>

* config/aarch64/aarch64.c (aarch64_expand_prologue): add the missing
argument 'Pmode' to the 'plus_constant' call.

From-SVN: r193299

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 7a72b38c68d5f671905374c7ff57986462956c17..eb0d492afee697730d0e57bd1f88b67c4acab0f1 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-07  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * config/aarch64/aarch64.c (aarch64_expand_prologue): add the missing
+       argument 'Pmode' to the 'plus_constant' call.
+
 2012-11-07  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/53787
index a33c73fc1b911e7048ebd8a59df331131b314ed8..4437fefb296c8134cae5623613887f6566947570 100644 (file)
@@ -2079,7 +2079,8 @@ aarch64_expand_epilogue (bool for_sibcall)
              RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 2)) = 1;
              add_reg_note (insn, REG_CFA_ADJUST_CFA,
                            (gen_rtx_SET (Pmode, stack_pointer_rtx,
-                                         plus_constant (cfa_reg, offset))));
+                                         plus_constant (Pmode, cfa_reg,
+                                                        offset))));
            }
 
          /* The first part of a frame-related parallel insn