From: Renlin Li Date: Wed, 9 Oct 2013 10:51:39 +0000 (+0000) Subject: arm.c (arm_output_mi_thunk): Use plus_constant. X-Git-Tag: releases/gcc-4.9.0~3668 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b86fca7339841d8e1a88cf778e6976ddbfd4b0f;p=thirdparty%2Fgcc.git arm.c (arm_output_mi_thunk): Use plus_constant. [gcc/] 2013-10-09 Renlin Li * config/arm/arm.c (arm_output_mi_thunk): Use plus_constant. From-SVN: r203309 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4560bcd5a50..2c0cb798b8c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-10-09 Renlin Li + + * config/arm/arm.c (arm_output_mi_thunk): Use plus_constant. + 2013-10-09 Andreas Krebbel * config/s390/s390.c (s390_register_info_stdarg_fpr): Remove diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 071c7024f160..1247854d69c6 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -27261,7 +27261,7 @@ arm_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED, { /* Output ".word .LTHUNKn-7-.LTHUNKPCn". */ rtx tem = XEXP (DECL_RTL (function), 0); - tem = gen_rtx_PLUS (GET_MODE (tem), tem, GEN_INT (-7)); + tem = plus_constant (GET_MODE (tem), tem, -7); tem = gen_rtx_MINUS (GET_MODE (tem), tem, gen_rtx_SYMBOL_REF (Pmode,