re PR rtl-optimization/88033 (ICE on valid code at -O2 and -O3 on x86-64-linux-gnu...
authorPeter Bergner <bergner@linux.ibm.com>
Mon, 19 Nov 2018 19:35:51 +0000 (19:35 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Mon, 19 Nov 2018 19:35:51 +0000 (13:35 -0600)
commit4b0f04fba5fab30f28b55107ccddfbe7e1243743
treef178fa2f69190af963c3c7842cd415fc8bb1734b
parent1fd319753c90f05e026e16c2c83af8f1c6687a5f
re PR rtl-optimization/88033 (ICE on valid code at -O2 and -O3 on x86-64-linux-gnu: in remove_some_program_points_and_update_live_ranges, at lra-lives.c:1179)

gcc/
PR rtl-optimization/88033
* ira-lives.c (non_conflicting_reg_copy_p): Skip copies from a register
to itself.  Use HARD_REGISTER_NUM_P.

gcc/testsuite/
PR rtl-optimization/88033
* gcc.target/i386/pr88033.c: New test.

From-SVN: r266282
gcc/ChangeLog
gcc/ira-lives.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88033.c [new file with mode: 0644]