https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100066
--- Comment #3 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:f99f64f69db49ce6343d79a39eab28dcc6b91865 commit r11-8180-gf99f64f69db49ce6343d79a39eab28dcc6b91865 Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Wed Apr 14 13:21:40 2021 -0400 [PR100066] Check paradoxical subreg when splitting hard reg live range When splitting live range of a hard reg, LRA actually split multi-register containing the hard reg. So we need to check the biggest used mode of the hard reg on paradoxical subregister when the natural and the biggest mode are ordered. gcc/ChangeLog: PR rtl-optimization/100066 * lra-constraints.c (split_reg): Check paradoxical_subreg_p for ordered modes when choosing splitting mode for hard reg. gcc/testsuite/ChangeLog: PR rtl-optimization/100066 * gcc.target/i386/pr100066.c: New.