diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2019-01-09 16:37:45 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2019-01-09 16:37:45 -0500 |
commit | 67914693144c02e0be2e6356d9162e775fb4971d (patch) | |
tree | 63ea86de007194fa30edb25c79acb6a6136e5cab /gcc/ipa-icf.c | |
parent | ee0b3cea205eb7e832d7262425ddee8ed34778e5 (diff) | |
download | gcc-67914693144c02e0be2e6356d9162e775fb4971d.zip gcc-67914693144c02e0be2e6356d9162e775fb4971d.tar.gz gcc-67914693144c02e0be2e6356d9162e775fb4971d.tar.bz2 |
PR other/16615 [1/5]
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
PR other/16615 [1/5]
contrib/
* mklog: Mechanically replace "can not" with "cannot".
gcc/
* Makefile.in: Mechanically replace "can not" with "cannot".
* alias.c: Likewise.
* builtins.c: Likewise.
* calls.c: Likewise.
* cgraph.c: Likewise.
* cgraph.h: Likewise.
* cgraphclones.c: Likewise.
* cgraphunit.c: Likewise.
* combine-stack-adj.c: Likewise.
* combine.c: Likewise.
* common/config/i386/i386-common.c: Likewise.
* config/aarch64/aarch64.c: Likewise.
* config/alpha/sync.md: Likewise.
* config/arc/arc.c: Likewise.
* config/arc/predicates.md: Likewise.
* config/arm/arm-c.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/cortex-r4f.md: Likewise.
* config/csky/csky.c: Likewise.
* config/csky/csky.h: Likewise.
* config/darwin-f.c: Likewise.
* config/epiphany/epiphany.md: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/sol2.h: Likewise.
* config/m68k/m68k.c: Likewise.
* config/mcore/mcore.h: Likewise.
* config/microblaze/microblaze.md: Likewise.
* config/mips/20kc.md: Likewise.
* config/mips/sb1.md: Likewise.
* config/nds32/nds32.c: Likewise.
* config/nds32/predicates.md: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/e300c2c3.md: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/s390/s390.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.md: Likewise.
* config/spu/vmx2spu.h: Likewise.
* cprop.c: Likewise.
* dbxout.c: Likewise.
* df-scan.c: Likewise.
* doc/cfg.texi: Likewise.
* doc/extend.texi: Likewise.
* doc/fragments.texi: Likewise.
* doc/gty.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/lto.texi: Likewise.
* doc/md.texi: Likewise.
* doc/objc.texi: Likewise.
* doc/rtl.texi: Likewise.
* doc/tm.texi: Likewise.
* dse.c: Likewise.
* emit-rtl.c: Likewise.
* emit-rtl.h: Likewise.
* except.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* genautomata.c: Likewise.
* gimple-fold.c: Likewise.
* hard-reg-set.h: Likewise.
* ifcvt.c: Likewise.
* ipa-comdats.c: Likewise.
* ipa-cp.c: Likewise.
* ipa-devirt.c: Likewise.
* ipa-fnsummary.c: Likewise.
* ipa-icf.c: Likewise.
* ipa-inline-transform.c: Likewise.
* ipa-inline.c: Likewise.
* ipa-polymorphic-call.c: Likewise.
* ipa-profile.c: Likewise.
* ipa-prop.c: Likewise.
* ipa-pure-const.c: Likewise.
* ipa-reference.c: Likewise.
* ipa-split.c: Likewise.
* ipa-visibility.c: Likewise.
* ipa.c: Likewise.
* ira-build.c: Likewise.
* ira-color.c: Likewise.
* ira-conflicts.c: Likewise.
* ira-costs.c: Likewise.
* ira-int.h: Likewise.
* ira-lives.c: Likewise.
* ira.c: Likewise.
* ira.h: Likewise.
* loop-invariant.c: Likewise.
* loop-unroll.c: Likewise.
* lower-subreg.c: Likewise.
* lra-assigns.c: Likewise.
* lra-constraints.c: Likewise.
* lra-eliminations.c: Likewise.
* lra-lives.c: Likewise.
* lra-remat.c: Likewise.
* lra-spills.c: Likewise.
* lra.c: Likewise.
* lto-cgraph.c: Likewise.
* lto-streamer-out.c: Likewise.
* postreload-gcse.c: Likewise.
* predict.c: Likewise.
* profile-count.h: Likewise.
* profile.c: Likewise.
* recog.c: Likewise.
* ree.c: Likewise.
* reload.c: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* rtl.def: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.
* sched-deps.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* sel-sched-ir.c: Likewise.
* sel-sched.c: Likewise.
* shrink-wrap.c: Likewise.
* simplify-rtx.c: Likewise.
* symtab.c: Likewise.
* target.def: Likewise.
* toplev.c: Likewise.
* tree-call-cdce.c: Likewise.
* tree-cfg.c: Likewise.
* tree-complex.c: Likewise.
* tree-core.h: Likewise.
* tree-eh.c: Likewise.
* tree-inline.c: Likewise.
* tree-loop-distribution.c: Likewise.
* tree-nrv.c: Likewise.
* tree-profile.c: Likewise.
* tree-sra.c: Likewise.
* tree-ssa-alias.c: Likewise.
* tree-ssa-dce.c: Likewise.
* tree-ssa-dom.c: Likewise.
* tree-ssa-forwprop.c: Likewise.
* tree-ssa-loop-im.c: Likewise.
* tree-ssa-loop-ivcanon.c: Likewise.
* tree-ssa-loop-ivopts.c: Likewise.
* tree-ssa-loop-niter.c: Likewise.
* tree-ssa-phionlycprop.c: Likewise.
* tree-ssa-phiopt.c: Likewise.
* tree-ssa-propagate.c: Likewise.
* tree-ssa-threadedge.c: Likewise.
* tree-ssa-threadupdate.c: Likewise.
* tree-ssa-uninit.c: Likewise.
* tree-ssanames.c: Likewise.
* tree-streamer-out.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* vr-values.c: Likewise.
gcc/ada/
* exp_ch9.adb: Mechanically replace "can not" with "cannot".
* libgnat/s-regpat.ads: Likewise.
* par-ch4.adb: Likewise.
* set_targ.adb: Likewise.
* types.ads: Likewise.
gcc/cp/
* cp-tree.h: Mechanically replace "can not" with "cannot".
* parser.c: Likewise.
* pt.c: Likewise.
gcc/fortran/
* class.c: Mechanically replace "can not" with "cannot".
* decl.c: Likewise.
* expr.c: Likewise.
* gfc-internals.texi: Likewise.
* intrinsic.texi: Likewise.
* invoke.texi: Likewise.
* io.c: Likewise.
* match.c: Likewise.
* parse.c: Likewise.
* primary.c: Likewise.
* resolve.c: Likewise.
* symbol.c: Likewise.
* trans-array.c: Likewise.
* trans-decl.c: Likewise.
* trans-intrinsic.c: Likewise.
* trans-stmt.c: Likewise.
gcc/go/
* go-backend.c: Mechanically replace "can not" with "cannot".
* go-gcc.cc: Likewise.
gcc/lto/
* lto-partition.c: Mechanically replace "can not" with "cannot".
* lto-symtab.c: Likewise.
* lto.c: Likewise.
gcc/objc/
* objc-act.c: Mechanically replace "can not" with "cannot".
libbacktrace/
* backtrace.h: Mechanically replace "can not" with "cannot".
libgcc/
* config/c6x/libunwind.S: Mechanically replace "can not" with
"cannot".
* config/tilepro/atomic.h: Likewise.
* config/vxlib-tls.c: Likewise.
* generic-morestack-thread.c: Likewise.
* generic-morestack.c: Likewise.
* mkmap-symver.awk: Likewise.
libgfortran/
* caf/single.c: Mechanically replace "can not" with "cannot".
* io/unit.c: Likewise.
libobjc/
* class.c: Mechanically replace "can not" with "cannot".
* objc/runtime.h: Likewise.
* sendmsg.c: Likewise.
liboffloadmic/
* include/coi/common/COIResult_common.h: Mechanically replace
"can not" with "cannot".
* include/coi/source/COIBuffer_source.h: Likewise.
libstdc++-v3/
* include/ext/bitmap_allocator.h: Mechanically replace "can not"
with "cannot".
From-SVN: r267783
Diffstat (limited to 'gcc/ipa-icf.c')
-rw-r--r-- | gcc/ipa-icf.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index ebaf582..056be11 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -368,7 +368,7 @@ sem_item::compare_referenced_symbol_properties (symtab_node *used_by, && (!used_by || !is_a <cgraph_node *> (used_by) || address || opt_for_fn (used_by->decl, flag_devirtualize))) return return_false_with_msg - ("references to virtual tables can not be merged"); + ("references to virtual tables cannot be merged"); if (address && DECL_ALIGN (n1->decl) != DECL_ALIGN (n2->decl)) return return_false_with_msg ("alignment mismatch"); @@ -1083,23 +1083,23 @@ sem_function::merge (sem_item *alias_item) if (original->can_be_discarded_p ()) original_discardable = true; /* Also consider case where we have resolution info and we know that - original's definition is not going to be used. In this case we can not + original's definition is not going to be used. In this case we cannot create alias to original. */ if (node->resolution != LDPR_UNKNOWN && !decl_binds_to_current_def_p (node->decl)) original_discardable = original_discarded = true; /* Creating a symtab alias is the optimal way to merge. - It however can not be used in the following cases: + It however cannot be used in the following cases: 1) if ORIGINAL and ALIAS may be possibly compared for address equality. 2) if ORIGINAL is in a section that may be discarded by linker or if - it is an external functions where we can not create an alias + it is an external functions where we cannot create an alias (ORIGINAL_DISCARDABLE) 3) if target do not support symbol aliases. 4) original and alias lie in different comdat groups. - If we can not produce alias, we will turn ALIAS into WRAPPER of ORIGINAL + If we cannot produce alias, we will turn ALIAS into WRAPPER of ORIGINAL and/or redirect all callers from ALIAS to ORIGINAL. */ if ((original_address_matters && alias_address_matters) || (original_discardable @@ -1149,7 +1149,7 @@ sem_function::merge (sem_item *alias_item) { if (dump_file) fprintf (dump_file, - "can not create wrapper of stdarg function.\n"); + "cannot create wrapper of stdarg function.\n"); } else if (ipa_fn_summaries && ipa_fn_summaries->get (alias) != NULL @@ -1184,7 +1184,7 @@ sem_function::merge (sem_item *alias_item) if (!redirect_callers && !create_wrapper) { if (dump_file) - fprintf (dump_file, "Not unifying; can not redirect callers nor " + fprintf (dump_file, "Not unifying; cannot redirect callers nor " "produce wrapper\n\n"); return false; } @@ -1193,7 +1193,7 @@ sem_function::merge (sem_item *alias_item) If ORIGINAL is interposable, we need to call a local alias. Also produce local alias (if possible) as an optimization. - Local aliases can not be created inside comdat groups because that + Local aliases cannot be created inside comdat groups because that prevents inlining. */ if (!original_discardable && !original->get_comdat_group ()) { @@ -1203,12 +1203,12 @@ sem_function::merge (sem_item *alias_item) && original->get_availability () > AVAIL_INTERPOSABLE) local_original = original; } - /* If we can not use local alias, fallback to the original + /* If we cannot use local alias, fallback to the original when possible. */ else if (original->get_availability () > AVAIL_INTERPOSABLE) local_original = original; - /* If original is COMDAT local, we can not really redirect calls outside + /* If original is COMDAT local, we cannot really redirect calls outside of its comdat group to it. */ if (original->comdat_local_p ()) redirect_callers = false; @@ -1216,7 +1216,7 @@ sem_function::merge (sem_item *alias_item) { if (dump_file) fprintf (dump_file, "Not unifying; " - "can not produce local alias.\n\n"); + "cannot produce local alias.\n\n"); return false; } @@ -1224,7 +1224,7 @@ sem_function::merge (sem_item *alias_item) { if (dump_file) fprintf (dump_file, "Not unifying; " - "can not redirect callers nor produce a wrapper\n\n"); + "cannot redirect callers nor produce a wrapper\n\n"); return false; } if (!create_wrapper @@ -1233,7 +1233,7 @@ sem_function::merge (sem_item *alias_item) && !alias->can_remove_if_no_direct_calls_p ()) { if (dump_file) - fprintf (dump_file, "Not unifying; can not make wrapper and " + fprintf (dump_file, "Not unifying; cannot make wrapper and " "function has other uses than direct calls\n\n"); return false; } @@ -2124,7 +2124,7 @@ sem_variable::merge (sem_item *alias_item) /* See if original is in a section that can be discarded if the main symbol is not used. Also consider case where we have resolution info and we know that - original's definition is not going to be used. In this case we can not + original's definition is not going to be used. In this case we cannot create alias to original. */ if (original->can_be_discarded_p () || (node->resolution != LDPR_UNKNOWN @@ -2160,7 +2160,7 @@ sem_variable::merge (sem_item *alias_item) return false; } - /* We can not merge if address comparsion metters. */ + /* We cannot merge if address comparsion metters. */ if (alias_address_matters && flag_merge_constants < 2) { if (dump_file) |