From 95f6e526bc2b8a05382e12026c56e94d53dcb96f Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Fri, 21 May 2010 14:37:16 +0000 Subject: [PATCH] tree.c (build_function_decl_skip_args): Fix grammar. * tree.c (build_function_decl_skip_args): Fix grammar. (build_function_type_list_1): Fix typos, adjust formatting. From-SVN: r159666 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b3ec04d1351..0c55bc4db00e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-21 Nathan Froyd + + * tree.c (build_function_decl_skip_args): Fix grammar. + (build_function_type_list_1): Fix typos, adjust formatting. + 2010-05-21 Steven Bosscher * tree.h: Include real.h and fixed-value.h as basic datatypes. diff --git a/gcc/tree.c b/gcc/tree.c index 120a10c07d31..805c0525a242 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -7288,7 +7288,7 @@ build_function_type_skip_args (tree orig_type, bitmap args_to_skip) /* Build variant of function type ORIG_TYPE skipping ARGS_TO_SKIP. Arguments from DECL_ARGUMENTS list can't be removed now, since they are - linked by TREE_CHAIN directly. It is caller responsibility to eliminate + linked by TREE_CHAIN directly. The caller is responsible for eliminating them when they are being duplicated (i.e. copy_arguments_for_versioning). */ tree @@ -7310,8 +7310,8 @@ build_function_decl_skip_args (tree orig_decl, bitmap args_to_skip) } /* Build a function type. The RETURN_TYPE is the type returned by the - function. If VAARGS is set, no void_type_node is appended to the - the list. ARGP muse be alway be terminated be a NULL_TREE. */ + function. If VAARGS is set, no void_type_node is appended to the + the list. ARGP must be always be terminated be a NULL_TREE. */ static tree build_function_type_list_1 (bool vaargs, tree return_type, va_list argp)