diff options
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r-- | gcc/gimple-fold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c index 9358bf8..8bcc13e 100644 --- a/gcc/gimple-fold.c +++ b/gcc/gimple-fold.c @@ -94,7 +94,7 @@ can_refer_decl_in_current_unit_p (tree decl, tree from_decl) produced. As observed in PR20991 for already optimized out comdat virtual functions - it may be tempting to not neccesarily give up because the copy will be + it may be tempting to not necessarily give up because the copy will be output elsewhere when corresponding vtable is output. This is however not possible - ABI specify that COMDATs are output in units where they are used and when the other unit was compiled with LTO @@ -1054,7 +1054,7 @@ gimple_extract_devirt_binfo_from_cst (tree cst) type = TREE_TYPE (fld); offset -= pos; } - /* Artifical sub-objects are ancestors, we do not want to use them for + /* Artificial sub-objects are ancestors, we do not want to use them for devirtualization, at least not here. */ if (last_artificial) return NULL_TREE; |