aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto-symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto/lto-symtab.c')
-rw-r--r--gcc/lto/lto-symtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c
index 8f78919..a4d7015 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -1081,7 +1081,8 @@ lto_symtab_merge_symbols (void)
}
/* Virtual tables may matter for code generation even if they are not
- directly refernced by the code because they may be used for devirtualizaiton.
+ directly referenced by the code because they may be used for
+ devirtualization.
For this reason it is important to merge even virtual tables that have no
associated symbol table entries. Without doing so we lose optimization
oppurtunities by losing track of the vtable constructor.