diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-24 08:46:15 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-24 08:46:15 +0000 |
commit | 527e5b29a6a7492063b72cd005a654b227d9666e (patch) | |
tree | 262d3f900521d615abb6c7007c1407d3f485d8e8 /gcc/combine.c | |
parent | 2cbea1dc8a8cd9862b787628d0b420ffb510929e (diff) | |
download | gcc-527e5b29a6a7492063b72cd005a654b227d9666e.tar.gz |
* combine.c (try_combine): Update reg_nonzero_bits of
newi2pat before newpat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33376 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 4bcaf388115..9396959a67b 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -2714,11 +2714,11 @@ try_combine (i3, i2, i1, new_direct_jump_p) } /* Update reg_nonzero_bits et al for any changes that may have been made - to this insn. */ - - note_stores (newpat, set_nonzero_bits_and_sign_copies, NULL); + to this insn. The order of set_nonzero_bits_and_sign_copies() is + important. Because newi2pat can affect nonzero_bits of newpat */ if (newi2pat) note_stores (newi2pat, set_nonzero_bits_and_sign_copies, NULL); + note_stores (newpat, set_nonzero_bits_and_sign_copies, NULL); /* Set new_direct_jump_p if a new return or simple jump instruction has been created. |