aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-expand.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-04-10 23:37:34 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2018-04-10 23:37:34 +0200
commit7321063d6150b5d31bff38347dc8ec9f3dcd9c0b (patch)
tree3fcdfb0d30170016776f29fe2331eed98e2dff2c /gcc/omp-expand.c
parent0359465c703ad3c214c52c772557ef1b3fe52183 (diff)
downloadgcc-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