Commit b0ad77d5 by Kaveh R. Ghazi Committed by Kaveh Ghazi

rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking,…

rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and avoid multiple evaluation of RTX.

	* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
	disabling checking, and avoid multiple evaluation of RTX.

From-SVN: r53687
parent 279be7c8
2002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.
2002-05-21 Richard Earnshaw <rearnsha@arm.com>
* bitmap.c (bitmap_find_bit): Return early if we have the correct
......
......@@ -982,12 +982,12 @@ extern unsigned int subreg_regno PARAMS ((rtx));
#define SUBREG_PROMOTED_UNSIGNED_SET(RTX, VAL) \
do { \
RTL_FLAG_CHECK1("SUBREG_PROMOTED_UNSIGNED_SET", (RTX), SUBREG); \
rtx const _rtx = RTL_FLAG_CHECK1("SUBREG_PROMOTED_UNSIGNED_SET", (RTX), SUBREG); \
if ((VAL) < 0) \
(RTX)->volatil = 1; \
_rtx->volatil = 1; \
else { \
(RTX)->volatil = 0; \
(RTX)->unchanging = (VAL); \
_rtx->volatil = 0; \
_rtx->unchanging = (VAL); \
} \
} while (0)
#define SUBREG_PROMOTED_UNSIGNED_P(RTX) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment