]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/lra-constraints.c
re PR rtl-optimization/77289 (ICE in extract_constrain_insn, at recog.c:2212 on power...
authorPeter Bergner <bergner@vnet.ibm.com>
Sat, 10 Sep 2016 01:36:33 +0000 (20:36 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Sat, 10 Sep 2016 01:36:33 +0000 (20:36 -0500)
commit9d0a9bb43a5c08661bb4ad498e3f4433e8f58f57
treec26256b01d78742b01f07daa23c8fa8aab2fae4c
parent659edeaf8ee45af477aee19aa26e56faa7882a3e
re PR rtl-optimization/77289 (ICE in extract_constrain_insn, at recog.c:2212 on powerpc64)

gcc/
PR rtl-optimization/77289
* lra-constraints.c (get_final_hard_regno): Add support for non hard
register numbers.  Remove support for subregs.
(get_hard_regno): Use SUBREG_P.  Don't call get_final_hard_regno().
(get_reg_class): Delete removed get_final_hard_regno() argument.
(uses_hard_regs_p): Call get_final_hard_regno().

gcc/testsuite/
PR rtl-optimization/77289
* gcc.target/powerpc/pr77289.c: New test.

From-SVN: r240065
gcc/ChangeLog
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr77289.c [new file with mode: 0644]