From: Bernd Schmidt Date: Tue, 27 Feb 2007 15:20:47 +0000 (+0000) Subject: bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg instead of R2. X-Git-Tag: releases/gcc-4.3.0~6573 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ce986b9719b516a800d538e039f9fdf6411d649;p=thirdparty%2Fgcc.git bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg instead of R2. * config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg instead of R2. From-SVN: r122376 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91852b9f225f..b902a0293107 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -43,6 +43,9 @@ * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3): Fix output template to use half reg for operand 2. + * config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg + instead of R2. + 2007-02-27 Andreas Schwab * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi. diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 12212b22cc0a..43ab3ec85dd7 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -4556,7 +4556,7 @@ bfin_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED, if (vcall_offset) { rtx p2tmp = gen_rtx_REG (Pmode, REG_P2); - rtx tmp = gen_rtx_REG (Pmode, REG_R2); + rtx tmp = gen_rtx_REG (Pmode, REG_R3); xops[1] = tmp; xops[2] = p2tmp;