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]

tree.h remove extraneous semicolons.


All, 

The macros  STRIP_NOPS, STRIP_SIGN_NOPS and STRIP_TYPE_NOPS
are contain extraneous semicolons.

Bootstrapped i686-pc-linux-gnu all languages
Graham

ChangeLog

        * tree.h (STRIP_NOPS): Remove extraneous semicolon.
        (STRIP_SIGN_NOPS): Likewise.
        (STRIP_TYPE_NOPS): Likewise.

        (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around
        macro paramater.

---------------------------------------------------------------
Index: gcc/tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.294
diff -c -p -r1.294 tree.h
*** tree.h      2001/12/11 19:33:39     1.294
--- tree.h      2001/12/30 06:40:53     
*************** extern void tree_class_check_failed PARA
*** 353,359 ****
         && TREE_OPERAND (EXP, 0) != error_mark_node            \
         && (TYPE_MODE (TREE_TYPE (EXP))                        \
             == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \
!     (EXP) = TREE_OPERAND (EXP, 0); 
      
  /* Like STRIP_NOPS, but don't let the signedness change either.  */
  
--- 353,359 ----
         && TREE_OPERAND (EXP, 0) != error_mark_node            \
         && (TYPE_MODE (TREE_TYPE (EXP))                        \
             == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \
!     (EXP) = TREE_OPERAND (EXP, 0)
      
  /* Like STRIP_NOPS, but don't let the signedness change either.  */
  
*************** extern void tree_class_check_failed PARA
*** 366,372 ****
             == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))  \
         && (TREE_UNSIGNED (TREE_TYPE (EXP))                    \
             == TREE_UNSIGNED (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \
!     (EXP) = TREE_OPERAND (EXP, 0);
      
  /* Like STRIP_NOPS, but don't alter the TREE_TYPE either.  */
  
--- 366,372 ----
             == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))  \
         && (TREE_UNSIGNED (TREE_TYPE (EXP))                    \
             == TREE_UNSIGNED (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \
!     (EXP) = TREE_OPERAND (EXP, 0)

  /* Like STRIP_NOPS, but don't alter the TREE_TYPE either.  */
*************** extern void tree_class_check_failed PARA
*** 377,383 ****
         && TREE_OPERAND (EXP, 0) != error_mark_node            \
         && (TREE_TYPE (EXP)                                    \
             == TREE_TYPE (TREE_OPERAND (EXP, 0))))             \
!     (EXP) = TREE_OPERAND (EXP, 0);

  /* Nonzero if TYPE represents an integral type.  Note that we do not
     include COMPLEX types here.  */
--- 377,383 ----
         && TREE_OPERAND (EXP, 0) != error_mark_node            \
         && (TREE_TYPE (EXP)                                    \
             == TREE_TYPE (TREE_OPERAND (EXP, 0))))             \
!     (EXP) = TREE_OPERAND (EXP, 0)

  /* Nonzero if TYPE represents an integral type.  Note that we do not
     include COMPLEX types here.  */
*************** extern void tree_class_check_failed PARA
*** 463,469 ****

  /* Nonzero if this type is complete or is an array with unspecified bound.  */
  #define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
!   (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : NODE))

  /* Nonzero if TYPE represents a type.  */

--- 463,469 ----

  /* Nonzero if this type is complete or is an array with unspecified bound.  */
  #define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
!   (COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))

  /* Nonzero if TYPE represents a type.  */
----------------------------------------------------------------------------


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