diff options
author | Jeff Law <law@redhat.com> | 2017-02-24 08:36:10 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-02-24 08:36:10 -0700 |
commit | 19e1183f174dbd85deff959e93519c8239d38069 (patch) | |
tree | 859039bd6e54c0bd62ccb538946330e4a6c73176 /gcc/ira.c | |
parent | d0815217034cbf58cbe1979f7ad4e173dbed6233 (diff) | |
download | gcc-19e1183f174dbd85deff959e93519c8239d38069.zip gcc-19e1183f174dbd85deff959e93519c8239d38069.tar.gz gcc-19e1183f174dbd85deff959e93519c8239d38069.tar.bz2 |
re PR rtl-optimization/79286 (ira and lra wrong code at -O2 and -Os on i686-linux)
PR rtl-optimizatoin/79286
* ira.c (update_equiv_regs): Drop may_trap_p exception to
dominance test.
From-SVN: r245714
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3551,8 +3551,7 @@ update_equiv_regs (void) if (DF_REG_DEF_COUNT (regno) == 1 && note && !rtx_varies_p (XEXP (note, 0), 0) - && (!may_trap_p (XEXP (note, 0)) - || def_dominates_uses (regno))) + && def_dominates_uses (regno)) { rtx note_value = XEXP (note, 0); remove_note (insn, note); |