Commit 65c74eb2 by Bernd Edlinger Committed by Bernd Edlinger

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
parent 568da5e6
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
......
......@@ -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. */
......
......@@ -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.
......
......@@ -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 ()
......
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