diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2023-03-17 11:04:12 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2023-03-23 11:00:54 +0000 |
commit | 3b97715af0e848ef8703ac04665bde562b2ac159 (patch) | |
tree | 84c028c9f97b7caa87781b54eb2021ba6be108bc /gcc/gimple-range-path.cc | |
parent | db80ccd34365c14e529111c94b93d3fb201b6eef (diff) | |
download | gcc-3b97715af0e848ef8703ac04665bde562b2ac159.zip gcc-3b97715af0e848ef8703ac04665bde562b2ac159.tar.gz gcc-3b97715af0e848ef8703ac04665bde562b2ac159.tar.bz2 |
amdgcn: Fix register size bug
Fix an issue in which "vectors" of duplicate entries placed in scalar
registers caused the following 63 registers to be marked live, for the
purpose of prologue generation, which resulted in stack corruption.
gcc/ChangeLog:
* config/gcn/gcn.cc (gcn_class_max_nregs): Handle vectors in SGPRs.
(move_callee_saved_registers): Detect the bug condition early.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions