__typeof().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127825
138bc75d-0d04-0410-961f-
82ee72b054a4
+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):
&_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__); \