aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/allocfail.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-12-12 09:53:49 +0100
committerIain Sandoe <iains@gcc.gnu.org>2018-12-12 08:53:49 +0000
commitbe611c9c5a544b08cfd3ff5d45b04a127d4d055f (patch)
tree429f0291958333f58e2c6ef01fb36188c136775a /libbacktrace/allocfail.c
parentaa3a2eca42d9bcebdaa2441e050df8b5bc24e4fa (diff)
downloadgcc-be611c9c5a544b08cfd3ff5d45b04a127d4d055f.zip
gcc-be611c9c5a544b08cfd3ff5d45b04a127d4d055f.tar.gz
gcc-be611c9c5a544b08cfd3ff5d45b04a127d4d055f.tar.bz2
rs6000 - Fix PR target/88343
The PR is about unnecessary saves of the pic base register, it shows on m32 Linux and m32/m64 Darwin. The fix is to check that we are in a pic mode and that the picbase has actually been used. As a bonus, some #ifdef’d TARGET_MACHO code is no longer required. 2018-12-12 Segher Boessenkool <segher@kernel.crashing.org> Iain Sandoe <iain@sandoe.co.uk> PR target/88343 * config/rs6000/rs6000.c (save_reg_p): Do not save the picbase reg unless it has been used. (first_reg_to_save): Remove dead code. Co-Authored-By: Iain Sandoe <iain@sandoe.co.uk> From-SVN: r267049
Diffstat (limited to 'libbacktrace/allocfail.c')
0 files changed, 0 insertions, 0 deletions