diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b0a5043c95..f2a1e5372bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-25 Bernd Edlinger + + * 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 * config/rs6000/altivec.md (VNEG iterator): New iterator for diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 1a4f665293d..08bf9bf96a2 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -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. */ diff --git a/gcc/symtab.c b/gcc/symtab.c index 9bf33273fe1..ded6ecc17d5 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -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. diff --git a/gcc/varpool.c b/gcc/varpool.c index 12696a4faaa..ab615fa33fc 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -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 ()