FreeBSD/contrib/gcc/c-decl.c
/* T is a statement.  Add it to the statement-tree.  This is the
   C/ObjC version--C++ has a slightly different version of this
   function.  */
T is a statement.  Add it to the statement-tree.  This is the
C/ObjC version--C++ has a slightly different version of this
function.
T is a statement . Add it to the statement - tree . This is the C / ObjC version -- C ++ has a slightly different version of this function .
tree
add_stmt (tree t)
{
  enum tree_code code = TREE_CODE (t);
  if (EXPR_P (t) && code != LABEL_EXPR)
    {
      if (!EXPR_HAS_LOCATION (t))
	SET_EXPR_LOCATION (t, input_location);
    }
  if (code == LABEL_EXPR || code == CASE_LABEL_EXPR)
    STATEMENT_LIST_HAS_LABEL (cur_stmt_list) = 1;
  append_to_statement_list_force (t, &cur_stmt_list);
  return t;
}
tree add_stmt ( tree t ) { enum tree_code code = TREE_CODE ( t ) ; if ( EXPR_P ( t ) && code != LABEL_EXPR ) { if ( ! EXPR_HAS_LOCATION ( t ) ) SET_EXPR_LOCATION ( t , input_location ) ; } if ( code == LABEL_EXPR || code == CASE_LABEL_EXPR ) STATEMENT_LIST_HAS_LABEL ( cur_stmt_list ) = 1 ; append_to_statement_list_force ( t , & cur_stmt_list ) ; return t ; }
T is a statement.
T is a statement .
/* Add T to the statement-tree.  Non-side-effect statements need to be
     recorded during statement expressions.  */