This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] global.c: Remove EXECUTE_IF_CONFLICT.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 May 2007 07:26:42 -0700
- Subject: [patch] global.c: Remove EXECUTE_IF_CONFLICT.
Hi,
Attached is a patch to remove EXECUTE_IF_CONFLICT as it is unused.
The comment indicates that EXECUTE_IF_CONFLICT does not work for
non-GNU C. However, I don't see a version of EXECUTE_IF_CONFLICT that
would for non-GNU C elsewhere.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2007-05-26 Kazu Hirata <kazu@codesourcery.com>
* global.c (EXECUTE_IF_CONFLICT): Remove.
Index: global.c
===================================================================
--- global.c (revision 125090)
+++ global.c (working copy)
@@ -204,16 +204,6 @@ do { \
} \
} while (0)
-/* This doesn't work for non-GNU C due to the way CODE is macro expanded. */
-#if 0
-/* For any allocno that conflicts with IN_ALLOCNO, set OUT_ALLOCNO to
- the conflicting allocno, and execute CODE. This macro assumes that
- mirror_conflicts has been run. */
-#define EXECUTE_IF_CONFLICT(IN_ALLOCNO, OUT_ALLOCNO, CODE)\
- EXECUTE_IF_SET_IN_ALLOCNO_SET (conflicts + (IN_ALLOCNO) * allocno_row_words,\
- OUT_ALLOCNO, (CODE))
-#endif
-
/* Set of hard regs currently live (during scan of all insns). */
static HARD_REG_SET hard_regs_live;