aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-11-27 07:45:25 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-11-27 06:45:25 +0000
commitb483cfb7a714d1d4ca0868241f69b31d44c51e55 (patch)
tree5ee4068a1e45d473e12e2bc01e5182b2bc83fcd5 /gcc/final.c
parentecb63641ffab9d9e808620c2f6b68ec08e188cfa (diff)
downloadgcc-b483cfb7a714d1d4ca0868241f69b31d44c51e55.zip
gcc-b483cfb7a714d1d4ca0868241f69b31d44c51e55.tar.gz
gcc-b483cfb7a714d1d4ca0868241f69b31d44c51e55.tar.bz2
re PR rtl-optimization/13041 (linux-2.6/sound/core/oss/rate.c miscompiled)
PR optimization/13041 * final.c (frame_pointer_needed): Fix comment. * reload1.c (reload): Decrease alignment of the frame pointer if it was used for register allocation. From-SVN: r73978
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index f8750e9..fe3ff6e 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -171,8 +171,8 @@ CC_STATUS cc_prev_status;
char regs_ever_live[FIRST_PSEUDO_REGISTER];
/* Nonzero means current function must be given a frame pointer.
- Set in stmt.c if anything is allocated on the stack there.
- Set in reload1.c if anything is allocated on the stack there. */
+ Initialized in function.c to 0. Set only in reload1.c as per
+ the needs of the function. */
int frame_pointer_needed;