aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-12-11 00:29:42 +0000
committerIain Sandoe <iain@sandoe.co.uk>2021-09-28 20:16:05 +0100
commitb12d6e79899fd27833c53ffc3c973538244f62e1 (patch)
treed4db52cf60ca41b0b56e5611c868809be3702a44 /gcc/gimplify.c
parent45f775f5f813224daed1f2234deacc1c9365009e (diff)
downloadgcc-b12d6e79899fd27833c53ffc3c973538244f62e1.zip
gcc-b12d6e79899fd27833c53ffc3c973538244f62e1.tar.gz
gcc-b12d6e79899fd27833c53ffc3c973538244f62e1.tar.bz2
Darwin, PPC : Fix R13 for PPC64.
We have a somewhat unusual situation in that for PPC64, R13 is both reserved and callee-saved (it is used internally by the pthreads implementation to contain pthread_self). So add R13 to the fixed regs, but also keep it in the callee- saved set. gcc/ChangeLog: * config/rs6000/darwin.h (FIXED_R13): Add for PPC64. (FIRST_SAVED_GP_REGNO): Save from R13 even when it is one of the fixed regs.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions