https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>: https://gcc.gnu.org/g:bb283170e7a1f39bf533651418daf10ad18eccfc commit r12-518-gbb283170e7a1f39bf533651418daf10ad18eccfc Author: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> Date: Wed May 5 17:00:43 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.