diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 9e4b4c4..940cead 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -2789,7 +2789,7 @@ update_vtable_entry_for_fn (tree t, tree binfo, tree fn, tree* virtuals, determined by which bases the function overrides, so we need to be sure that we're using a thunk for some overridden base; even if we know that the necessary this adjustment is zero, there may not be an - appropriate zero-this-adjusment thunk for us to use since thunks for + appropriate zero-this-adjustment thunk for us to use since thunks for overriding virtual bases always use the vcall offset. Furthermore, just choosing any base that overrides this function isn't |