https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69307
--- Comment #10 from Andrey Belevantsev <abel at gcc dot gnu.org> --- Author: abel Date: Thu Mar 31 14:50:57 2016 New Revision: 234629 URL: https://gcc.gnu.org/viewcvs?rev=234629&root=gcc&view=rev Log: Backport from mainline 2016-03-12 Andrey Belevantsev <a...@ispras.ru> gcc/ PR rtl-optimization/69307 * sel-sched.c (choose_best_pseudo_reg): Properly check for hard registers in modes that span more than one register. testsuite/ PR rtl-optimization/69307 * gcc.dg/pr69307.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69307.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/sel-sched.c