PATCH: restore global.c to compilability

Robert Lipe robertl@sco.com
Sat Nov 6 21:49:00 GMT 1999


I've applied this under the "obvious" rule as a correction to the Nov 5
patch.     Without it, the macro expands to 

   if ( word_ & 1 ) ( { if ( allocno_to_order

Of course, that extra set of parens is bogus.



	* global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.




Fri Nov  5 18:33:39 1999  J"orn Rennecke <amylaar@cygnus.co.uk>

        * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
        (EXECUTE_IF_CONFLICT): Likewise.
        (ALLOCNO_LIVE_P): Avoid signed division.
        (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
        (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
        (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.



Index: global.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/global.c,v
retrieving revision 1.43
diff -u -p -r1.43 global.c
--- global.c	1999/11/05 23:35:47	1.43
+++ global.c	1999/11/07 05:44:50
@@ -159,7 +159,7 @@ do {									\
    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))
+				 OUT_ALLOCNO, CODE)
 
 /* Set of hard regs currently live (during scan of all insns).  */
 


More information about the Gcc-patches mailing list