From: Richard Kenner Date: Mon, 27 Jan 1997 14:04:44 +0000 (-0500) Subject: (emit_store_flag): Properly test for STORE_FLAG_VALUE of just sign bit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12dd565fc59325e34df949b19aca788026616bf1;p=gcc.git (emit_store_flag): Properly test for STORE_FLAG_VALUE of just sign bit. From-SVN: r13552 --- diff --git a/gcc/expmed.c b/gcc/expmed.c index a2adbd1ecb6..4b569b1557c 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -3951,7 +3951,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) && GET_MODE_CLASS (mode) == MODE_INT && (normalizep || STORE_FLAG_VALUE == 1 || (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT - && (STORE_FLAG_VALUE + && ((STORE_FLAG_VALUE & GET_MODE_MASK (mode)) == (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1))))) { subtarget = target; @@ -4145,7 +4145,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) normalizep = STORE_FLAG_VALUE; else if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT - && (STORE_FLAG_VALUE + && ((STORE_FLAG_VALUE & GET_MODE_MASK (mode)) == (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1))) ; else