aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-05-25 07:38:32 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-05-25 07:38:32 +0000
commit65c74eb276f0c2727a1485131ab324c744c1df40 (patch)
tree7f69de75c069b2544dbf8cc8f777b84cd4327d5a /gcc
parent568da5e6e1d08b98244bf3e55d50e8811404124d (diff)
downloadgcc-65c74eb276f0c2727a1485131ab324c744c1df40.zip
gcc-65c74eb276f0c2727a1485131ab324c744c1df40.tar.gz
gcc-65c74eb276f0c2727a1485131ab324c744c1df40.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cgraph.c2
-rw-r--r--gcc/symtab.c2
-rw-r--r--gcc/varpool.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8b0a504..f2a1e53 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 1a4f665..08bf9bf 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 9bf3327..ded6ecc 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 12696a4..ab615fa 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 ()