diff options
author | ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-09 10:51:39 +0000 |
---|---|---|
committer | ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-09 10:51:39 +0000 |
commit | c4b6b7e9c3046196f1c2a538f6a92116c98577c3 (patch) | |
tree | 258766d3b50212e3e70d4056fe07450d80da78be | |
parent | 031bdf836f2fc1f872ffd17df5d9246705965943 (diff) | |
download | gcc-c4b6b7e9c3046196f1c2a538f6a92116c98577c3.tar.gz |
[gcc/]
2013-10-09 Renlin Li <Renlin.Li@arm.com>
* config/arm/arm.c (arm_output_mi_thunk): Use plus_constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203309 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4560bcd5a5..2c0cb798b8c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-10-09 Renlin Li <Renlin.Li@arm.com> + + * config/arm/arm.c (arm_output_mi_thunk): Use plus_constant. + 2013-10-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * 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 071c7024f16..1247854d69c 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, |