This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Set need frame pointer once


Hi,

Both compute_regsets in global.c and init_elim_table in reload1.c
check if frame pointer is needed.
frame_pointer_needed has to be consistent for stack alignment.
compute_regsets is called before
init_elim_table. This patch consolidates setting frame_pointer_needed
in compute_regsets. Tested
on
Linux/ia32, Linux/x86-64 and Linux/ia64.  OK for trunk?

Thanks

-- 
H.J.

Attachment: gcc-fp-1.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]