rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when...
authorGeoffrey Keating <geoffk@redhat.com>
Mon, 16 Sep 2002 19:48:19 +0000 (19:48 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 16 Sep 2002 19:48:19 +0000 (19:48 +0000)
* config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
warnings about unused operands when HOST_BITS_PER_WIDE_INT is
< 64.
(rs6000_emit_cmove): Use real_isinf not target_isinf.

From-SVN: r57210

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

index 23ba6cf8cdd059374e7a3e78a51d99e307c74912..aafdefb730a0c7ba5035db68fb5fdf2b6c18d982 100644 (file)
@@ -1,3 +1,10 @@
+2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
+       warnings about unused operands when HOST_BITS_PER_WIDE_INT is
+       < 64.
+       (rs6000_emit_cmove): Use real_isinf not target_isinf.
+
 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
 
        * calls.c (emit_library_call_value_1): Don't refer to
index 3752fcf94ba0cb0e42ec4b912e1fc39e3daa9a85..0354031b0b75f45980414e2aeda340069554e29a 100644 (file)
@@ -1772,6 +1772,8 @@ build_mask64_2_operands (in, out)
   out[2] = GEN_INT (shift);
   out[3] = GEN_INT (m2);
 #else
+  (void)in;
+  (void)out;
   abort ();
 #endif
 }
@@ -8529,7 +8531,7 @@ rs6000_emit_cmove (dest, op, true_cond, false_cond)
      would treat EQ different to UNORDERED, we can't do it.  */
   if (! flag_unsafe_math_optimizations
       && code != GT && code != UNGE
-      && (GET_CODE (op1) != CONST_DOUBLE || target_isinf (c1))
+      && (GET_CODE (op1) != CONST_DOUBLE || real_isinf (&c1))
       /* Constructs of the form (a OP b ? a : b) are safe.  */
       && ((! rtx_equal_p (op0, false_cond) && ! rtx_equal_p (op1, false_cond))
          || (! rtx_equal_p (op0, true_cond)