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

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
This commit is contained in:
Yufeng Zhang 2012-11-07 16:13:27 +00:00 committed by Yufeng Zhang
parent 2c9561b513
commit dc2d3c67bc
2 changed files with 7 additions and 1 deletions

View 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

View 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