aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
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;