diff options
author | Hiroyuki Machida <machida@sm.sony.co.jp> | 2000-04-24 17:46:15 +0900 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-04-24 02:46:15 -0600 |
commit | 5fb7c24702c5bbd78fc7e3a09501b0c16440a334 (patch) | |
tree | 262d3f900521d615abb6c7007c1407d3f485d8e8 /gcc/combine.c | |
parent | ce7de04c2b23c8f47288624006539204c70eaccd (diff) | |
download | gcc-5fb7c24702c5bbd78fc7e3a09501b0c16440a334.zip gcc-5fb7c24702c5bbd78fc7e3a09501b0c16440a334.tar.gz gcc-5fb7c24702c5bbd78fc7e3a09501b0c16440a334.tar.bz2 |
combine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat.
* combine.c (try_combine): Update reg_nonzero_bits of
newi2pat before newpat.
From-SVN: r33376
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 4bcaf38..9396959 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. |