On Thu, May 30, 2024 at 6:33 AM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > In commit ad89d820bf, an "epilogue_done" member was added to the > machine_function structure, but it is sufficient to use the existing > "epilogue_completed" global variable. > > gcc/ChangeLog: > > * config/xtensa/xtensa-protos.h > (xtensa_use_return_instruction_p): Remove. > * config/xtensa/xtensa.cc > (machine_function): Remove "epilogue_done" field. > (xtensa_expand_epilogue): Remove "cfun->machine->epilogue_done" usage. > (xtensa_use_return_instruction_p): Remove. > * config/xtensa/xtensa.md ("return"): > Replace calling "xtensa_use_return_instruction_p()" with inline code. > --- > gcc/config/xtensa/xtensa-protos.h | 1 - > gcc/config/xtensa/xtensa.cc | 14 -------------- > gcc/config/xtensa/xtensa.md | 5 ++++- > 3 files changed, 4 insertions(+), 16 deletions(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max