From d4e0d036ef2db8dc9fba391119c8e7534e085105 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 30 Jul 2010 23:50:00 +0000 Subject: [PATCH] rtlanal.c (simplify_subreg_regno): Don't treat HARD_FRAME_POINTER_REGNUM specially. * rtlanal.c (simplify_subreg_regno): Don't treat HARD_FRAME_POINTER_REGNUM specially. From-SVN: r162726 --- gcc/ChangeLog | 5 +++++ gcc/rtlanal.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30ae24e08b3..582ad9296a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-30 Bernd Schmidt + + * rtlanal.c (simplify_subreg_regno): Don't treat + HARD_FRAME_POINTER_REGNUM specially. + 2010-07-30 Joseph Myers * common.opt (-G): Don't define option here. diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index d242a9a3690..ac786338a00 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3297,8 +3297,7 @@ simplify_subreg_regno (unsigned int xregno, enum machine_mode xmode, /* We shouldn't simplify stack-related registers. */ if ((!reload_completed || frame_pointer_needed) - && (xregno == FRAME_POINTER_REGNUM - || xregno == HARD_FRAME_POINTER_REGNUM)) + && xregno == FRAME_POINTER_REGNUM) return -1; if (FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM