public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] global.c: Remove EXECUTE_IF_CONFLICT.
@ 2007-05-26 14:27 Kazu Hirata
  2007-05-28 21:51 ` Mark Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: Kazu Hirata @ 2007-05-26 14:27 UTC (permalink / raw)
  To: gcc-patches

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] global.c: Remove EXECUTE_IF_CONFLICT.
  2007-05-26 14:27 [patch] global.c: Remove EXECUTE_IF_CONFLICT Kazu Hirata
@ 2007-05-28 21:51 ` Mark Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Mitchell @ 2007-05-28 21:51 UTC (permalink / raw)
  To: Kazu Hirata; +Cc: gcc-patches

Kazu Hirata wrote:

> 2007-05-26  Kazu Hirata  <kazu@codesourcery.com>
> 
> 	* global.c (EXECUTE_IF_CONFLICT): Remove.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-28 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-26 14:27 [patch] global.c: Remove EXECUTE_IF_CONFLICT Kazu Hirata
2007-05-28 21:51 ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).