https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Stefan Schulze Frielinghaus <[email protected]>: https://gcc.gnu.org/g:a3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 commit r10-9801-ga3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 Author: Stefan Schulze Frielinghaus <[email protected]> Date: Wed May 5 17:10:15 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)
