This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

reload.c macro patch.


Hi

Here is a patch reload.c which adds parenthesis around each use of 
a macro parameter.

The patch is against the egcs-19990502 snapshot.

Graham

ChangeLog

	* reload.c (MATCHES): Add parenthesis to uses of macro parameter.

*** reload.c.orig	Sat May 15 21:41:22 1999
--- reload.c	Sat May 15 21:40:39 1999
*************** static int output_reloadnum;
*** 274,280 ****
  
    /* Compare two RTX's.  */
  #define MATCHES(x, y) \
!  (x == y || (x != 0 && (GET_CODE (x) == REG				\
  			? GET_CODE (y) == REG && REGNO (x) == REGNO (y)	\
  			: rtx_equal_p (x, y) && ! side_effects_p (x))))
  
--- 274,280 ----
  
    /* Compare two RTX's.  */
  #define MATCHES(x, y) \
!  ((x) == (y) || ((x) != 0 && (GET_CODE (x) == REG			\
  			? GET_CODE (y) == REG && REGNO (x) == REGNO (y)	\
  			: rtx_equal_p (x, y) && ! side_effects_p (x))))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]