From: Jakub Jelinek Date: Mon, 14 Mar 2022 09:40:47 +0000 (+0100) Subject: Spelling fix - cannott -> cannot [PR104899] X-Git-Tag: basepoints/gcc-13~674 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42446716607992655e967fddc36a672e52fe156;p=thirdparty%2Fgcc.git Spelling fix - cannott -> cannot [PR104899] This fixes typos and while changing that, also uses %< %> around attribute names and fixes up formatting. 2022-03-14 Jakub Jelinek PR other/104899 * config/bfin/bfin.cc (bfin_handle_longcall_attribute): Fix a typo in diagnostic message - cannott -> cannot. Use %< and %> around names of attribute. Avoid too long line. * range-op.cc (operator_logical_and::op1_range): Fix up a typo in comment - cannott -> cannot. Use 2 spaces after . instead of one. --- diff --git a/gcc/config/bfin/bfin.cc b/gcc/config/bfin/bfin.cc index c749b4894d7d..b2a9142f5f98 100644 --- a/gcc/config/bfin/bfin.cc +++ b/gcc/config/bfin/bfin.cc @@ -4763,7 +4763,8 @@ bfin_handle_longcall_attribute (tree *node, tree name, && lookup_attribute ("longcall", TYPE_ATTRIBUTES (*node)))) { warning (OPT_Wattributes, - "cannott apply both longcall and shortcall attributes to the same function"); + "cannot apply both % and % attributes " + "to the same function"); *no_add_attrs = true; } diff --git a/gcc/range-op.cc b/gcc/range-op.cc index ebc21d6038a6..464a1f839fdd 100644 --- a/gcc/range-op.cc +++ b/gcc/range-op.cc @@ -2532,7 +2532,7 @@ operator_logical_and::op1_range (irange &r, tree type, break; default: // Any other result means only one side has to be false, the - // other side can be anything. So we cannott be sure of any + // other side can be anything. So we cannot be sure of any // result here. r = range_true_and_false (type); break;