https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107
--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Segher Boessenkool <seg...@gcc.gnu.org>: https://gcc.gnu.org/g:da0a5628d47ee59320dac9787f3232b0911fbc14 commit r11-9022-gda0a5628d47ee59320dac9787f3232b0911fbc14 Author: Segher Boessenkool <seg...@kernel.crashing.org> Date: Wed Sep 8 13:10:30 2021 +0000 rs6000: Fix ELFv2 r12 use in epilogue We cannot use r12 here, it is already in use as the GEP (for sibling calls). 2021-09-08 Segher Boessenkool <seg...@kernel.crashing.org> PR target/102107 * config/rs6000/rs6000-logue.c (rs6000_emit_epilogue): For ELFv2 use r11 instead of r12 for restoring CR. (cherry picked from commit 86e6268cff328e27ee6f90e2afc35b6f437a25cd)