diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-01 10:36:25 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-01 10:36:25 +0000 |
commit | 37103d5cf6544db006a0f841380fcea0ed9f878e (patch) | |
tree | 76ad9cf0e7dfa7672450ec2e004cf7e4092ae817 /gcc/loop.c | |
parent | c0c9dc2f0ddffd4e18bcd59ed4827a303413579d (diff) | |
download | gcc-37103d5cf6544db006a0f841380fcea0ed9f878e.tar.gz |
* loop.c (canonicalize_condition): use destination, not source to
determine set's mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35409 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c index 20211c67297..ea4a0271762 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -9017,7 +9017,7 @@ canonicalize_condition (insn, cond, reverse, earliest, want_reg) relevant. */ if (rtx_equal_p (SET_DEST (set), op0)) { - enum machine_mode inner_mode = GET_MODE (SET_SRC (set)); + enum machine_mode inner_mode = GET_MODE (SET_DEST (set)); /* ??? We may not combine comparisons done in a CCmode with comparisons not done in a CCmode. This is to aid targets |