On 09/09/2016 03:40 PM, Bernd Edlinger wrote:
Hi,
I think it is time to remove support for INITIAL_FRAME_POINTER_OFFSET, which is
no longer
used by any target today. This removes a bunch of conditional code, and fixes
a few bits
in the documentation. I'd say that part of the documentation is quite out of
sync, but I just
have to stop somewhere.
Bootstrapped and reg-tested on x86_64-pc-linux.gnu
Is it OK for trunk?
Thanks
Bernd.
changelog-initial-frame-pointer-offset.txt
2016-09-09 Bernd Edlinger <bernd.edlin...@hotmail.de>
* doc/tm.texi.in (INITIAL_FRAME_POINTER_OFFSET): Remove.
(ELIMINABLE_REGS, TARGET_CAN_ELIMINATE,
INITIAL_ELIMINATION_OFFSET) : Update documentation.
* target.def (frame_pointer_required, can_eliminate): Likewise.
* doc/tm.texi: Regenerated.
* builtins.c (expand_builtin_setjmp_receiver): Remove #ifdef
ELIMINABLE_REGS.
* df-scan.c (df_hard_reg_init): Likewise.
* ira.c (ira_setup_eliminable_regset): Likewise.
* lra-eliminations.c (reg_eliminate_1, (update_reg_eliminate,
init_elim_table): Likewise.
* reload1.c (reg_eliminate_1, verify_initial_elim_offsets,
set_initial_elim_offsets, update_eliminables,
init_elim_table): Likewise.
* rtlanal.c (get_initial_register_offset): Likewise.
* config/ft32/ft32.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
* config/m32r/m32r.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
* config/moxie/moxie.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
* config/vax/vax.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
Note that INITIAL_FRAME_POINTER_OFFSET shows up in comments in various
ports. Can you fix those as well.
OK with that change.
Jeff