This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] rtl.h: Remove CLEAR_RTX_FLAGS.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: janis187 at us dot ibm dot com
- Date: Tue, 12 Apr 2005 23:10:30 -0400 (EDT)
- Subject: [patch] rtl.h: Remove CLEAR_RTX_FLAGS.
Hi,
Attached is a patch to remove CLEAR_RTX_FLAGS.
It was introduced by
http://gcc.gnu.org/ml/gcc-cvs/2002-05/msg00248.html
but did not come with any use of it.
Kazu Hirata
2005-04-13 Kazu Hirata <kazu@cs.umass.edu>
* rtl.h (CLEAR_RTX_FLAGS): Remove.
Index: rtl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.h,v
retrieving revision 1.543
diff -u -d -p -r1.543 rtl.h
--- rtl.h 25 Mar 2005 02:23:57 -0000 1.543
+++ rtl.h 9 Apr 2005 18:07:15 -0000
@@ -581,19 +581,6 @@ extern void rtl_check_failed_flag (const
#define RTL_FLAG_CHECK8(NAME, RTX, C1, C2, C3, C4, C5, C6, C7, C8) (RTX)
#endif
-#define CLEAR_RTX_FLAGS(RTX) \
-do { \
- rtx const _rtx = (RTX); \
- _rtx->jump = 0; \
- _rtx->call = 0; \
- _rtx->unchanging = 0; \
- _rtx->volatil = 0; \
- _rtx->in_struct = 0; \
- _rtx->used = 0; \
- _rtx->frame_related = 0; \
- _rtx->return_val = 0; \
-} while (0)
-
#define XINT(RTX, N) (RTL_CHECK2 (RTX, N, 'i', 'n').rt_int)
#define XSTR(RTX, N) (RTL_CHECK2 (RTX, N, 's', 'S').rt_str)
#define XEXP(RTX, N) (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)