re PR rtl-optimization/87761 ([MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c ...
authorJeff Law <law@redhat.com>
Wed, 27 Mar 2019 16:18:06 +0000 (10:18 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 27 Mar 2019 16:18:06 +0000 (10:18 -0600)
commit52295c2de4adcd0f5a6ee9b5a4f57cd156182cf0
tree28016165b85dfcc8719ec17c7574c11867044d6f
parentce4609958f8db5cd64ec1c3bec624a36d8b35812
re PR rtl-optimization/87761 ([MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398)

PR rtl-optimization/87761
PR rtl-optimization/89826
* regcprop.c (copyprop_hardreg_forward_1): Move may_trap_p test
slightly later.
(pass_cprop_hardreg::execute): Call df_analyze after adding the
note problem to get REG_DEAD/REG_UNUSED notes updated.

PR rtl-optimization/87761
PR rtl-optimization/89826
* gcc.c-torture/execute/pr89826.c: New test.

From-SVN: r269967
gcc/ChangeLog
gcc/regcprop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr89826.c [new file with mode: 0644]