cgraph.c (cgraph_node::get_availability): Fix typo in comment.

* cgraph.c (cgraph_node::get_availability): Fix typo in comment.
* symtab.c (symtab_node::binds_to_current_def_p): Likewise.
* varpool.c (varpool_node::get_availability): Likewise.

From-SVN: r236690
This commit is contained in:
Bernd Edlinger 2016-05-25 07:38:32 +00:00 committed by Bernd Edlinger
parent 568da5e6e1
commit 65c74eb276
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2016-05-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
* cgraph.c (cgraph_node::get_availability): Fix typo in comment.
* symtab.c (symtab_node::binds_to_current_def_p): Likewise.
* varpool.c (varpool_node::get_availability): Likewise.
2016-05-24 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/altivec.md (VNEG iterator): New iterator for

View File

@ -2235,7 +2235,7 @@ cgraph_node::get_availability (symtab_node *ref)
else if (!externally_visible)
avail = AVAIL_AVAILABLE;
/* If this is a reference from symbol itself and there are no aliases, we
may be sure that the symbol was not interposed by soemthing else because
may be sure that the symbol was not interposed by something else because
the symbol itself would be unreachable otherwise.
Also comdat groups are always resolved in groups. */

View File

@ -2239,7 +2239,7 @@ symtab_node::binds_to_current_def_p (symtab_node *ref)
}
/* If this is a reference from symbol itself and there are no aliases, we
may be sure that the symbol was not interposed by soemthing else because
may be sure that the symbol was not interposed by something else because
the symbol itself would be unreachable otherwise. This is important
to optimize recursive functions well.

View File

@ -499,7 +499,7 @@ varpool_node::get_availability (symtab_node *ref)
return avail;
}
/* If this is a reference from symbol itself and there are no aliases, we
may be sure that the symbol was not interposed by soemthing else because
may be sure that the symbol was not interposed by something else because
the symbol itself would be unreachable otherwise. */
if ((this == ref && !has_aliases_p ())
|| (ref && get_comdat_group ()