re PR rtl-optimization/69307 (wrong code with -O2 -fselective-scheduling @ armv7a)
authorAndrey Belevantsev <abel@ispras.ru>
Sat, 12 Mar 2016 17:12:29 +0000 (20:12 +0300)
committerJeff Law <law@gcc.gnu.org>
Sat, 12 Mar 2016 17:12:29 +0000 (10:12 -0700)
commitd0aca6abdbcbabc103df7a65e1e0dcbbad5e055e
tree31fa6bab43160c4b6f903cea42539f8bc86e59e2
parentcefe08a4ec4ff2e8dadfc26f89e70be5a3f21a1f
re PR rtl-optimization/69307 (wrong code with -O2 -fselective-scheduling @ armv7a)

PR rtl-optimization/69307
* sel-sched.c (choose_best_pseudo_reg): Properly check for hard
registers in modes that span more than one register.

PR rtl-optimization/69307
* gcc.dg/pr69307.c: New test.

From-SVN: r234163
gcc/ChangeLog
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69307.c [new file with mode: 0644]