rs6000.c (rs6000_reverse_condition): Return the result.
authorGeoff Keating <geoffk@cygnus.com>
Wed, 6 Sep 2000 20:38:19 +0000 (20:38 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 6 Sep 2000 20:38:19 +0000 (20:38 +0000)
* config/rs6000/rs6000.c (rs6000_reverse_condition): Return
the result.

From-SVN: r36208

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index bb11b06..e1f6560 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-06  Geoff Keating  <geoffk@cygnus.com>
+
+       * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
+       the result.
+
 2000-09-06  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * toplev.c (display_help): Fix thinko in documentation.
@@ -83,6 +88,7 @@
        (output_cbranch): The length of a long branch insn is
        now only 8 bytes.  Add validate_condition_mode.  Use
        rs6000_reverse_condition.  Remove cror generation.
+
        * config/rs6000/rs6000.h: Update comments.
        (PREDICATE_CODES): Add new predicate.  Update codes used
        by branch_comparison_operator and scc_comparison_operator.
index c1771f5..1487ebf 100644 (file)
@@ -4444,9 +4444,9 @@ rs6000_reverse_condition (mode, code)
   /* Reversal of FP compares takes care -- an ordered compare
      becomes an unordered compare and vice versa.  */
   if (mode == CCFPmode)
-    code = reverse_condition_maybe_unordered (code);
+    return reverse_condition_maybe_unordered (code);
   else
-    code = reverse_condition (code);
+    return reverse_condition (code);
 }