Commit ca97730d by Bernhard Fischer Committed by Bernhard Reutner-Fischer

varasm.c (merge_weak, [...]): Commentary typo fixes.

2007-12-05  Bernhard Fischer  <aldot@gcc.gnu.org>

	* varasm.c (merge_weak, weak_finish, assemble_alias): Commentary typo
	fixes.

From-SVN: r130633
parent 39be21dd
2007-12-05 Bernhard Fischer <aldot@gcc.gnu.org>
* varasm.c (merge_weak, weak_finish, assemble_alias): Commentary typo
fixes.
2007-12-05 Richard Guenther <rguenther@suse.de> 2007-12-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34138 PR tree-optimization/34138
...@@ -4857,7 +4857,7 @@ merge_weak (tree newdecl, tree olddecl) ...@@ -4857,7 +4857,7 @@ merge_weak (tree newdecl, tree olddecl)
/* NEWDECL is weak, but OLDDECL is not. */ /* NEWDECL is weak, but OLDDECL is not. */
/* If we already output the OLDDECL, we're in trouble; we can't /* 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 declare_weak because the NEWDECL and OLDDECL was not yet
been merged; therefore, TREE_ASM_WRITTEN was not set. */ been merged; therefore, TREE_ASM_WRITTEN was not set. */
if (TREE_ASM_WRITTEN (olddecl)) if (TREE_ASM_WRITTEN (olddecl))
...@@ -4975,7 +4975,7 @@ weak_finish (void) ...@@ -4975,7 +4975,7 @@ weak_finish (void)
else if (! TREE_SYMBOL_REFERENCED (target)) else if (! TREE_SYMBOL_REFERENCED (target))
{ {
/* Use ASM_WEAKEN_LABEL only if ASM_WEAKEN_DECL is not /* 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. */ different macros. */
# if defined ASM_WEAKEN_LABEL && ! defined ASM_WEAKEN_DECL # if defined ASM_WEAKEN_LABEL && ! defined ASM_WEAKEN_DECL
ASM_WEAKEN_LABEL (asm_out_file, IDENTIFIER_POINTER (target)); ASM_WEAKEN_LABEL (asm_out_file, IDENTIFIER_POINTER (target));
...@@ -5343,7 +5343,7 @@ assemble_alias (tree decl, tree target) ...@@ -5343,7 +5343,7 @@ assemble_alias (tree decl, tree target)
varpool_node (decl)->alias = true; varpool_node (decl)->alias = true;
/* If the target has already been emitted, we don't have to queue the /* 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); target_decl = find_decl_and_mark_needed (decl, target);
if (target_decl && TREE_ASM_WRITTEN (target_decl)) if (target_decl && TREE_ASM_WRITTEN (target_decl))
do_assemble_alias (decl, target); do_assemble_alias (decl, target);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment