diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-09-16 19:48:19 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-09-16 19:48:19 +0000 |
commit | 045572c7dfb60465718d6fc0b5cb30cb8a88a9f9 (patch) | |
tree | 8b3635121a0e61937da6d9b96d098c86ad67f339 /gcc/config | |
parent | 171d2f505b1b9e8d3fe2dd29d364e3933d3412ed (diff) | |
download | gcc-045572c7dfb60465718d6fc0b5cb30cb8a88a9f9.zip gcc-045572c7dfb60465718d6fc0b5cb30cb8a88a9f9.tar.gz gcc-045572c7dfb60465718d6fc0b5cb30cb8a88a9f9.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) |