From: Geoffrey Keating Date: Mon, 16 Sep 2002 19:48:19 +0000 (+0000) Subject: rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=045572c7dfb60465718d6fc0b5cb30cb8a88a9f9;p=gcc.git rs6000.c (build_mask64_2_operands): Suppress warnings about unused operands when HOST_BITS_PER_WIDE_INT is < 64. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23ba6cf8cdd..aafdefb730a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-09-16 Geoffrey Keating + + * 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 * calls.c (emit_library_call_value_1): Don't refer to diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3752fcf94ba..0354031b0b7 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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)