aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-03-08 18:49:34 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-03-08 18:49:34 +0100
commit56aae4b7c0d088f2b1056b41ba1f502d93550020 (patch)
tree4588609e22a86a635c375d52a059b83f1f464d83 /gcc/cp
parent6edbcfc3f49faf16204e2b2907d0dc47f461aa3e (diff)
downloadgcc-56aae4b7c0d088f2b1056b41ba1f502d93550020.zip
gcc-56aae4b7c0d088f2b1056b41ba1f502d93550020.tar.gz
gcc-56aae4b7c0d088f2b1056b41ba1f502d93550020.tar.bz2
ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because.
* ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling - becuase -> because. * ipa-reference.c (ignore_module_statics): Likewise. * cgraph.c (cgraph_node::get_body): Likewise. * ipa-inline.c (early_inliner): Likewise. * ipa-devirt.c (types_same_for_odr): Likewise. * tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise. * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Likewise. cp/ * decl.c (duplicate_decls): Fix spelling - becuase -> because. lto/ * lto-symtab.h (lto_symtab_prevail_decl): Fix spelling - becuase -> because. From-SVN: r234061
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f58e34e..54dd3ec 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-08 Jakub Jelinek <jakub@redhat.com>
+
+ * decl.c (duplicate_decls): Fix spelling - becuase -> because.
+
2016-03-07 Patrick Palka <ppalka@gcc.gnu.org>
PR c++/66786
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 8504ab6..27c3597 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -2646,7 +2646,7 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend)
Before releasing the node, be sore to remove function from symbol
table that might have been inserted there to record comdat group.
- Be sure to however do not free DECL_STRUCT_FUNCTION becuase this
+ Be sure to however do not free DECL_STRUCT_FUNCTION because this
structure is shared in between newdecl and oldecl. */
if (TREE_CODE (newdecl) == FUNCTION_DECL)
DECL_STRUCT_FUNCTION (newdecl) = NULL;