Commit 14b4a70a by Chao-ying Fu Committed by Chao-ying Fu

rtl.h (XCNMPFV): Preserve const-ness of parameters through use of __typeof().

	* rtl.h (XCNMPFV): Preserve const-ness of parameters through use of
	__typeof().

From-SVN: r127825
parent 9678086d
2007-08-26 Chao-ying Fu <fu@mips.com>
* rtl.h (XCNMPFV): Preserve const-ness of parameters through use of
__typeof().
2007-08-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alias.c (memory_modified_1, memory_modified_in_insn_p):
......
......@@ -533,7 +533,7 @@ struct rtvec_def GTY(()) {
&_rtx->u.rv; })
#define XCNMPFV(RTX, C, M) __extension__ \
({ rtx const _rtx = (RTX); \
({ __typeof (RTX) const _rtx = (RTX); \
if (GET_CODE (_rtx) != (C) || GET_MODE (_rtx) == (M)) \
rtl_check_failed_code_mode (_rtx, (C), (M), true, __FILE__, \
__LINE__, __FUNCTION__); \
......
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