https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97701
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>: https://gcc.gnu.org/g:7f9f83ef300e8734dccb90a7c347997b2787e9e9 commit r11-6986-g7f9f83ef300e8734dccb90a7c347997b2787e9e9 Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Fri Jan 29 11:51:44 2021 -0500 [PR97701] LRA: Don't narrow class only for REG or MEM. Reload pseudos of ALL_REGS class did not narrow class from constraint in insn (set (pseudo) (lo_sum ...)) because lo_sum is considered an object (OBJECT_P) although the insn is not a classic move. To permit narrowing we are starting to use MEM_P and REG_P instead of OBJECT_P. gcc/ChangeLog: PR target/97701 * lra-constraints.c (in_class_p): Don't narrow class only for REG or MEM. gcc/testsuite/ChangeLog: PR target/97701 * gcc.target/aarch64/pr97701.c: New.