https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:06d75273ff7bb7af72ae83abef858c079245b602 commit r8-10952-g06d75273ff7bb7af72ae83abef858c079245b602 Author: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> Date: Wed May 5 17:12:35 2021 +0200 PR rtl-optimization/100263: Ensure register can change mode For move2add_valid_value_p we also have to ask the target whether a register can be accessed in a different mode than it was set before. gcc/ChangeLog: PR rtl-optimization/100263 * postreload.c (move2add_valid_value_p): Ensure register can change mode. (cherry picked from commit bb283170e7a1f39bf533651418daf10ad18eccfc)