summaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-01 10:36:25 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-01 10:36:25 +0000
commit37103d5cf6544db006a0f841380fcea0ed9f878e (patch)
tree76ad9cf0e7dfa7672450ec2e004cf7e4092ae817 /gcc/loop.c
parentc0c9dc2f0ddffd4e18bcd59ed4827a303413579d (diff)
downloadgcc-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.c2
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