summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authoraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-05 21:55:10 +0000
committeraldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-05 21:55:10 +0000
commit8f05ee5c03f798b14a4d9ea214cd621895f67f73 (patch)
tree3beef545225f413487475ff4155b35a7804754e7 /gcc/varasm.c
parentd9d723d91ff90f13e0162307658b2cb9e92d6dff (diff)
downloadgcc-8f05ee5c03f798b14a4d9ea214cd621895f67f73.tar.gz
2007-12-05 Bernhard Fischer <aldot@gcc.gnu.org>
* varasm.c (merge_weak, weak_finish, assemble_alias): Commentary typo fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130633 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index e85824577f6..b4ff7fe2fad 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -4857,7 +4857,7 @@ merge_weak (tree newdecl, tree olddecl)
/* NEWDECL is weak, but OLDDECL is not. */
/* If we already output the OLDDECL, we're in trouble; we can't
- go back and make it weak. This error cannot caught in
+ go back and make it weak. This error cannot be caught in
declare_weak because the NEWDECL and OLDDECL was not yet
been merged; therefore, TREE_ASM_WRITTEN was not set. */
if (TREE_ASM_WRITTEN (olddecl))
@@ -4975,7 +4975,7 @@ weak_finish (void)
else if (! TREE_SYMBOL_REFERENCED (target))
{
/* Use ASM_WEAKEN_LABEL only if ASM_WEAKEN_DECL is not
- defined, otherwise we and weak_finish_1 would use a
+ defined, otherwise we and weak_finish_1 would use
different macros. */
# if defined ASM_WEAKEN_LABEL && ! defined ASM_WEAKEN_DECL
ASM_WEAKEN_LABEL (asm_out_file, IDENTIFIER_POINTER (target));
@@ -5343,7 +5343,7 @@ assemble_alias (tree decl, tree target)
varpool_node (decl)->alias = true;
/* If the target has already been emitted, we don't have to queue the
- alias. This saves a tad o memory. */
+ alias. This saves a tad of memory. */
target_decl = find_decl_and_mark_needed (decl, target);
if (target_decl && TREE_ASM_WRITTEN (target_decl))
do_assemble_alias (decl, target);