diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23ba6cf..aafdefb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3752fcf..0354031 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) |