aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b3ec04..0c55bc4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-21 Nathan Froyd <froydnj@codesourcery.com>
+
+ * tree.c (build_function_decl_skip_args): Fix grammar.
+ (build_function_type_list_1): Fix typos, adjust formatting.
+
2010-05-21 Steven Bosscher <steven@gcc.gnu.org>
* tree.h: Include real.h and fixed-value.h as basic datatypes.
diff --git a/gcc/tree.c b/gcc/tree.c
index 120a10c..805c052 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)