https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263
--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Stefan Schulze Frielinghaus <[email protected]>: https://gcc.gnu.org/g:fcad2894215879b740dce74e72247b6efa326397 commit r11-8355-gfcad2894215879b740dce74e72247b6efa326397 Author: Stefan Schulze Frielinghaus <[email protected]> Date: Wed May 5 17:06:52 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)
