diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2018-04-10 23:37:34 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2018-04-10 23:37:34 +0200 |
commit | 7321063d6150b5d31bff38347dc8ec9f3dcd9c0b (patch) | |
tree | 3fcdfb0d30170016776f29fe2331eed98e2dff2c /gcc/omp-expand.c | |
parent | 0359465c703ad3c214c52c772557ef1b3fe52183 (diff) | |
download | gcc-7321063d6150b5d31bff38347dc8ec9f3dcd9c0b.zip gcc-7321063d6150b5d31bff38347dc8ec9f3dcd9c0b.tar.gz gcc-7321063d6150b5d31bff38347dc8ec9f3dcd9c0b.tar.bz2 |
rs6000: Fix stack clash for big residuals (PR85287)
The stack clash protection code had a logic error in how it decided
whether to put the final update size in a register, or to emit it
directly in an insn. This fixes it. It also tidies some surrounding
code.
PR target/85287
* gcc/config/rs6000/rs6000.md (allocate_stack): Put the residual size
for stack clash protection in a register whenever we need it to be in
a register.
From-SVN: r259299
Diffstat (limited to 'gcc/omp-expand.c')
0 files changed, 0 insertions, 0 deletions