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
This commit is contained in:
Bernd Schmidt 2010-07-30 23:50:00 +00:00 committed by Bernd Schmidt
parent 1107bd3829
commit d4e0d036ef
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-07-30 Bernd Schmidt <bernds@codesourcery.com>
* rtlanal.c (simplify_subreg_regno): Don't treat
HARD_FRAME_POINTER_REGNUM specially.
2010-07-30 Joseph Myers <joseph@codesourcery.com>
* common.opt (-G): Don't define option here.

View File

@ -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