diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-10-01 12:55:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-10-01 12:55:16 +0000 |
commit | 3366b37850b0b41d1cc80d82224b4c7804ad2158 (patch) | |
tree | 39fe33d319af91269d37e3cb912d72e2d9ea3830 /gcc/tree-if-conv.c | |
parent | 6bc89193bcf3c616e22d0f422e42e685f1d7796a (diff) | |
download | gcc-3366b37850b0b41d1cc80d82224b4c7804ad2158.zip gcc-3366b37850b0b41d1cc80d82224b4c7804ad2158.tar.gz gcc-3366b37850b0b41d1cc80d82224b4c7804ad2158.tar.bz2 |
Fix reload after function-abi patches (PR91948)
The code was passing a pseudo rather than its allocated hard reg
to ira_need_caller_save_p. Running under valgrind to reproduce
the failure also showed that ALLOCNO_CROSSED_CALLS_ABIS wasn't
being explicitly initialised.
2019-10-01 Richard Sandiford <richard.sandiford@arm.com>
gcc/
PR rtl-optimization/91948
* ira-build.c (ira_create_allocno): Initialize
ALLOCNO_CROSSED_CALLS_ABIS.
* ira-color.c (allocno_reload_assign): Pass hard_regno rather
than regno to ira_need_caller_save_p.
From-SVN: r276407
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions