diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-10-29 17:47:12 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-10-29 17:47:12 +0000 |
commit | 6bb8a3f75af9ddb66a0e35fe2be54b6a4bf109e1 (patch) | |
tree | c1ef276e427f2c0ee68d3b632f5fad533a774090 /gcc/reload1.c | |
parent | fc8dfa20665e273466aaef91b403498b127e8805 (diff) | |
download | gcc-6bb8a3f75af9ddb66a0e35fe2be54b6a4bf109e1.zip gcc-6bb8a3f75af9ddb66a0e35fe2be54b6a4bf109e1.tar.gz gcc-6bb8a3f75af9ddb66a0e35fe2be54b6a4bf109e1.tar.bz2 |
reload1.c (update_eliminables): Unconditionally check if frame_pointer_needed has changed.
* reload1.c (update_eliminables): Unconditionally check if
frame_pointer_needed has changed.
From-SVN: r58627
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index a7b435e..65ee274 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -3420,9 +3420,7 @@ static void update_eliminables (pset) HARD_REG_SET *pset; { -#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM int previous_frame_pointer_needed = frame_pointer_needed; -#endif struct elim_table *ep; for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS]; ep++) @@ -3487,12 +3485,10 @@ update_eliminables (pset) } } -#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM /* If we didn't need a frame pointer last time, but we do now, spill the hard frame pointer. */ if (frame_pointer_needed && ! previous_frame_pointer_needed) SET_HARD_REG_BIT (*pset, HARD_FRAME_POINTER_REGNUM); -#endif } /* Initialize the table of registers to eliminate. */ |