diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-01 21:12:54 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-01 21:15:53 +0100 |
commit | b3147c02dc772ad77eb7e1d5d6e14a8f222d1e65 (patch) | |
tree | 3e53fe0b7cf68f44db64ec22408d498fa385287e /gcc/builtins.h | |
parent | 986bb15d5b375829f8858c2906dab1012166194f (diff) | |
download | gcc-b3147c02dc772ad77eb7e1d5d6e14a8f222d1e65.zip gcc-b3147c02dc772ad77eb7e1d5d6e14a8f222d1e65.tar.gz gcc-b3147c02dc772ad77eb7e1d5d6e14a8f222d1e65.tar.bz2 |
Make -fzero-call-used-regs work on the SPARC
This contains both a generic fixlet for targets implementing the leaf
register optimization (SPARC and Xtensa) and the implementation of the
target hook TARGET_ZERO_CALL_USED_REGS which is needed to make this work
on the SPARC.
gcc/ChangeLog:
* function.c (gen_call_used_regs_seq): In a function subject to the
leaf register optimization, skip registers that are not present.
* config/sparc/sparc.c (TARGET_ZERO_CALL_USED_REGS): Define to...
(sparc_zero_call_used_regs): ...this. New function.
Diffstat (limited to 'gcc/builtins.h')
0 files changed, 0 insertions, 0 deletions