From 155ed511cf8bb7ca99d663c333292d5b6796a2d7 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 9 Jan 2019 16:44:56 -0500 Subject: [PATCH] PR other/16615 [4/5] 2019-01-09 Sandra Loosemore PR other/16615 [4/5] gcc/ * config/pa/pa.c: Change "can not" to "cannot". * gimple-ssa-evrp-analyze.c: Likewise. * ipa-icf.c: Likewise. * ipa-polymorphic-call.c: Likewise. * ipa-pure-const.c: Likewise. * lra-constraints.c: Likewise. * lra-remat.c: Likewise. * reload1.c: Likewise. * reorg.c: Likewise. * tree-ssa-uninit.c: Likewise. gcc/ada/ * exp_ch11.adb: Change "can not" to "cannot". * sem_ch4.adb: Likewise. gcc/fortran/ * expr.c: Change "can not" to "cannot". libobjc/ * objc/runtime.h: Change "can not" to "cannot". From-SVN: r267786 --- gcc/ChangeLog | 15 +++++++++++++++ gcc/ada/ChangeLog | 7 +++++++ gcc/ada/exp_ch11.adb | 7 ++++--- gcc/ada/sem_ch4.adb | 4 ++-- gcc/config/pa/pa.c | 8 ++++---- gcc/fortran/ChangeLog | 6 ++++++ gcc/fortran/expr.c | 10 ++++++---- gcc/gimple-ssa-evrp-analyze.c | 4 ++-- gcc/ipa-icf.c | 4 ++-- gcc/ipa-polymorphic-call.c | 4 ++-- gcc/ipa-pure-const.c | 4 ++-- gcc/lra-constraints.c | 4 ++-- gcc/lra-remat.c | 4 ++-- gcc/reload1.c | 4 ++-- gcc/reorg.c | 4 ++-- gcc/tree-ssa-uninit.c | 4 ++-- libobjc/ChangeLog | 6 ++++++ libobjc/objc/runtime.h | 4 ++-- 18 files changed, 70 insertions(+), 33 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 749b9bcd310..e04c52a0133 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2019-01-09 Sandra Loosemore + + PR other/16615 + + * config/pa/pa.c: Change "can not" to "cannot". + * gimple-ssa-evrp-analyze.c: Likewise. + * ipa-icf.c: Likewise. + * ipa-polymorphic-call.c: Likewise. + * ipa-pure-const.c: Likewise. + * lra-constraints.c: Likewise. + * lra-remat.c: Likewise. + * reload1.c: Likewise. + * reorg.c: Likewise. + * tree-ssa-uninit.c: Likewise. + 2019-01-09 Sandra Loosemore PR other/16615 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 402ad9288b1..d4d7eb27a5e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,10 @@ +2019-01-09 Sandra Loosemore + + PR other/16615 + + * exp_ch11.adb: Change "can not" to "cannot". + * sem_ch4.adb: Likewise. + 2019-01-09 Sandra Loosemore PR other/16615 diff --git a/gcc/ada/exp_ch11.adb b/gcc/ada/exp_ch11.adb index 720c659585e..7296e6f1108 100644 --- a/gcc/ada/exp_ch11.adb +++ b/gcc/ada/exp_ch11.adb @@ -63,9 +63,10 @@ package body Exp_Ch11 is -- N is the node on which the warning is placed. procedure Warn_If_No_Propagation (N : Node_Id); - -- Called for an exception raise that is not a local raise (and thus can - -- not be optimized to a goto). Issues warning if No_Exception_Propagation - -- restriction is set. N is the node for the raise or equivalent call. + -- Called for an exception raise that is not a local raise (and thus + -- cannot be optimized to a goto). Issues warning if + -- No_Exception_Propagation restriction is set. + -- N is the node for the raise or equivalent call. --------------------------- -- Expand_At_End_Handler -- diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb index 35df59d00f4..2c40011781d 100644 --- a/gcc/ada/sem_ch4.adb +++ b/gcc/ada/sem_ch4.adb @@ -1908,8 +1908,8 @@ package body Sem_Ch4 is while Present (Op_Id) loop if Ekind (Op_Id) = E_Operator then - -- Do not consider operators declared in dead code, they can - -- not be part of the resolution. + -- Do not consider operators declared in dead code, they + -- cannot be part of the resolution. if Is_Eliminated (Op_Id) then null; diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 5042683e388..5b83031c5ad 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1135,8 +1135,8 @@ hppa_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, /* If the newoffset will not fit in 14 bits (ldo), then handling this would take 4 or 5 instructions (2 to load the SYMBOL_REF + 1 or 2 to load the newoffset + 1 to - add the new offset and the SYMBOL_REF.) Combine can - not handle 4->2 or 5->2 combinations, so do not create + add the new offset and the SYMBOL_REF.) Combine cannot + handle 4->2 or 5->2 combinations, so do not create them. */ if (! VAL_14_BITS_P (newoffset) && GET_CODE (XEXP (x, 0)) == SYMBOL_REF) @@ -9835,8 +9835,8 @@ pa_som_tm_clone_table_section (void) /* On hpux10, the linker will give an error if we have a reference in the read-only data section to a symbol defined in a shared - library. Therefore, expressions that might require a reloc can - not be placed in the read-only data section. */ + library. Therefore, expressions that might require a reloc + cannot be placed in the read-only data section. */ static section * pa_select_section (tree exp, int reloc, diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8e81904ed86..9a030c81656 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2019-01-09 Sandra Loosemore + + PR other/16615 + + * expr.c: Change "can not" to "cannot". + 2019-01-09 Sandra Loosemore PR other/16615 diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index bc318f757aa..965214b0b2e 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -6060,12 +6060,14 @@ gfc_check_vardef_context (gfc_expr* e, bool pointer, bool alloc_obj, if (context) { if (assoc->target->expr_type == EXPR_VARIABLE) - gfc_error ("%qs at %L associated to vector-indexed target can" - " not be used in a variable definition context (%s)", + gfc_error ("%qs at %L associated to vector-indexed target" + " cannot be used in a variable definition" + " context (%s)", name, &e->where, context); else - gfc_error ("%qs at %L associated to expression can" - " not be used in a variable definition context (%s)", + gfc_error ("%qs at %L associated to expression" + " cannot be used in a variable definition" + " context (%s)", name, &e->where, context); } return false; diff --git a/gcc/gimple-ssa-evrp-analyze.c b/gcc/gimple-ssa-evrp-analyze.c index 149b6664ff9..bb4e2d6e798 100644 --- a/gcc/gimple-ssa-evrp-analyze.c +++ b/gcc/gimple-ssa-evrp-analyze.c @@ -319,8 +319,8 @@ evrp_range_analyzer::record_ranges_from_stmt (gimple *stmt, bool temporary) } else { - /* We're going to need to unwind this range. We can - not use VR as that's a stack object. We have to allocate + /* We're going to need to unwind this range. We cannot + use VR as that's a stack object. We have to allocate a new range and push the old range onto the stack. We also have to be very careful about sharing the underlying bitmaps. Ugh. */ diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index 056be1139db..849e9b4e9f5 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -1160,8 +1160,8 @@ sem_function::merge (sem_item *alias_item) "profitable (function is too small).\n"); } /* If user paid attention to mark function noinline, assume it is - somewhat special and do not try to turn it into a wrapper that can - not be undone by inliner. */ + somewhat special and do not try to turn it into a wrapper that + cannot be undone by inliner. */ else if (lookup_attribute ("noinline", DECL_ATTRIBUTES (alias->decl))) { if (dump_file) diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c index 7d8c5ab9baf..b93bf5561ae 100644 --- a/gcc/ipa-polymorphic-call.c +++ b/gcc/ipa-polymorphic-call.c @@ -2202,8 +2202,8 @@ ipa_polymorphic_call_context::combine_with (ipa_polymorphic_call_context ctx, updated = true; } - /* If we do not know how the context is being used, we can - not clear MAYBE_IN_CONSTRUCTION because it may be offseted + /* If we do not know how the context is being used, we cannot + clear MAYBE_IN_CONSTRUCTION because it may be offseted to other component of OUTER_TYPE later and we know nothing about it. */ if (otr_type && maybe_in_construction diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index d2dcf7c2d43..37b58853fe1 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -1792,8 +1792,8 @@ propagate_nothrow (void) function_or_virtual_thunk_symbol (&avail, e->caller); - /* We can use info about the callee only if we know it can - not be interposed. + /* We can use info about the callee only if we know it + cannot be interposed. When callee is compiled with non-call exceptions we also must check that the declaration is bound to current body as other semantically equivalent body may still diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index e3b5ddb5226..4f434e5332f 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -2647,8 +2647,8 @@ process_alt_operands (int only_alternative) class which does not have actually enough regs to hold the value (e.g. x86 AREG for mode requiring more one general reg). Therefore we have 2 - conditions to check that the reload pseudo can - not hold the mode value. */ + conditions to check that the reload pseudo cannot + hold the mode value. */ && (!targetm.hard_regno_mode_ok (ira_class_hard_regs[this_alternative][0], GET_MODE (*curr_id->operand_loc[nop]))) diff --git a/gcc/lra-remat.c b/gcc/lra-remat.c index 8dde7d20904..10838116143 100644 --- a/gcc/lra-remat.c +++ b/gcc/lra-remat.c @@ -110,8 +110,8 @@ struct cand /* Vector containing all candidates. */ static vec all_cands; -/* Map: insn -> candidate representing it. It is null if the insn can - not be used for rematerialization. */ +/* Map: insn -> candidate representing it. It is null if the insn cannot + be used for rematerialization. */ static cand_t *insn_to_cand; /* A secondary map, for candidates that involve two insns, where the second one makes the equivalence. The candidate must not be used diff --git a/gcc/reload1.c b/gcc/reload1.c index 9e4429f36cb..42012e4a6b3 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -4029,8 +4029,8 @@ update_eliminables_and_spill (void) did_spill = true; /* Regardless of the state of spills, if we previously had - a register that we thought we could eliminate, but now can - not eliminate, we must run another pass. + a register that we thought we could eliminate, but now + cannot eliminate, we must run another pass. Consider pseudos which have an entry in reg_equiv_* which reference an eliminable register. We must make another pass diff --git a/gcc/reorg.c b/gcc/reorg.c index d2b565438e7..84128a4fe9e 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1066,8 +1066,8 @@ steal_delay_list_from_target (rtx_insn *insn, rtx condition, rtx_sequence *seq, We cannot steal the delay list if one of the instructions in the current delay_list modifies the condition codes and the jump in the - sequence is a conditional jump. We cannot do this because we can - not change the direction of the jump because the condition codes + sequence is a conditional jump. We cannot do this because we cannot + change the direction of the jump because the condition codes will effect the direction of the jump in the sequence. */ CLEAR_RESOURCE (&cc_set); diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c index 32cf730f4ee..55a55a05c96 100644 --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -1564,8 +1564,8 @@ is_included_in (pred_chain one_pred, pred_chain_union preds) individual predicate chains (won't be a compile time problem as the chains are pretty short). When the function returns false, it does not necessarily mean *PREDS1 is not a superset - of *PREDS2, but mean it may not be so since the analysis can - not prove it. In such cases, false warnings may still be + of *PREDS2, but mean it may not be so since the analysis cannot + prove it. In such cases, false warnings may still be emitted. */ static bool diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index a85fb5986c7..f2f6ca57e64 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2019-01-09 Sandra Loosemore + + PR other/16615 + + * objc/runtime.h: Change "can not" to "cannot". + 2019-01-09 Sandra Loosemore PR other/16615 diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h index 2ce23ccfd86..dc7d12d248f 100644 --- a/libobjc/objc/runtime.h +++ b/libobjc/objc/runtime.h @@ -224,8 +224,8 @@ objc_EXPORT SEL * sel_copyTypedSelectorList (const char *name, This is useful if you have the name of the selector, and would really like to get a selector for it that includes the type encoding. Unfortunately, if the program contains multiple selector - with the same name but different types, sel_getTypedSelector can - not possibly know which one you need, and so will return NULL. + with the same name but different types, sel_getTypedSelector cannot + possibly know which one you need, and so will return NULL. Compatibility Note: the Apple/NeXT runtime has untyped selectors, so it does not have this function, which is specific to the GNU -- 2.30.2