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]
Other format: [Raw text]

Add missing closing parentheses to ip2k.c


Hi Guys,

  I am applying the following patch under the obvious-typo rule.  It
  adds a few missing closing parentheses to the ip2k.c file.

Cheers
  Nick

gcc/ChangeLog
2004-05-19  Nick Clifton  <nickc@redhat.com>

	* config/ip2k/ip2k.c (ip2k_composite_xexp_not_uses_reg_p): Add
	missing parenthesis.
	* config/ip2k/ip2k.c (ip2k_unary_operator): Likewise.
	* config/ip2k/ip2k.c (ip2k_binary_operator): Likewise.

Index: gcc/config/ip2k/ip2k.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ip2k/ip2k.c,v
retrieving revision 1.38
diff -c -3 -p -r1.38 ip2k.c
*** gcc/config/ip2k/ip2k.c	15 May 2004 09:39:30 -0000	1.38
--- gcc/config/ip2k/ip2k.c	19 May 2004 10:10:31 -0000
*************** ip2k_composite_xexp_not_uses_reg_p (rtx 
*** 5973,5979 ****
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 1), r, rsz)
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 2), r, rsz));
  
!   if (BINARY_P (x)
      return (ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 0), r, rsz)
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 1), r, rsz));
  
--- 5973,5979 ----
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 1), r, rsz)
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 2), r, rsz));
  
!   if (BINARY_P (x))
      return (ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 0), r, rsz)
  	    && ip2k_composite_xexp_not_uses_reg_p (XEXP (x, 1), r, rsz));
  
*************** int
*** 6150,6163 ****
  ip2k_unary_operator (rtx op, enum machine_mode mode)
  {
    return ((mode == VOIDmode || GET_MODE (op) == mode)
! 	  && UNARY_P (op);
  }
  
  int
  ip2k_binary_operator (rtx op, enum machine_mode mode)
  {
    return ((mode == VOIDmode || GET_MODE (op) == mode)
! 	  && ARITHMETIC_P (op);
  }
  
  int
--- 6150,6163 ----
  ip2k_unary_operator (rtx op, enum machine_mode mode)
  {
    return ((mode == VOIDmode || GET_MODE (op) == mode)
! 	  && UNARY_P (op));
  }
  
  int
  ip2k_binary_operator (rtx op, enum machine_mode mode)
  {
    return ((mode == VOIDmode || GET_MODE (op) == mode)
! 	  && ARITHMETIC_P (op));
  }
  
  int
  


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