From: Jim Wilson Date: Tue, 29 Sep 1998 20:04:10 +0000 (+0000) Subject: Fix typo that disabled loop unrolling for many targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc5737cfe7e7ecd1923e0612a440c5271c8ce422;p=gcc.git Fix typo that disabled loop unrolling for many targets. * loop.c (get_condition): Fix typo in May 9 change. From-SVN: r22650 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 291e376b587..371dfa4c02e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 29 20:03:18 1998 Jim Wilson + + * loop.c (get_condition): Fix typo in May 9 change. + Tue Sep 29 11:11:38 EDT 1998 Andrew MacLeod * invoke.texi (-fexceptions): Merge 2 different descriptions. diff --git a/gcc/loop.c b/gcc/loop.c index b171c75c1e6..f1a59b35f8d 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -7831,7 +7831,7 @@ get_condition (jump, earliest) )) && GET_RTX_CLASS (GET_CODE (SET_SRC (set))) == '<')) && ((GET_MODE_CLASS (mode) == MODE_CC) - != (GET_MODE_CLASS (inner_mode) == MODE_CC))) + == (GET_MODE_CLASS (inner_mode) == MODE_CC))) x = SET_SRC (set); else if (((code == EQ || (code == GE @@ -7849,7 +7849,7 @@ get_condition (jump, earliest) )) && GET_RTX_CLASS (GET_CODE (SET_SRC (set))) == '<' && ((GET_MODE_CLASS (mode) == MODE_CC) - != (GET_MODE_CLASS (inner_mode) == MODE_CC))) + == (GET_MODE_CLASS (inner_mode) == MODE_CC))) { /* We might have reversed a LT to get a GE here. But this wasn't actually the comparison of data, so we don't flag that we