diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-03-14 10:40:47 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-03-14 10:40:47 +0100 |
commit | b42446716607992655e967fddc36a672e52fe156 (patch) | |
tree | b8d3e6cfee6d4eda613bea846102afab07becafa /gcc/config | |
parent | 823b3b79cd2b137f1023742ee1ba93e8712cef0a (diff) | |
download | gcc-b42446716607992655e967fddc36a672e52fe156.zip gcc-b42446716607992655e967fddc36a672e52fe156.tar.gz gcc-b42446716607992655e967fddc36a672e52fe156.tar.bz2 |
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 <jakub@redhat.com>
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.
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/bfin/bfin.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/bfin/bfin.cc b/gcc/config/bfin/bfin.cc index c749b48..b2a9142 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 %<longcall%> and %<shortcall%> attributes " + "to the same function"); *no_add_attrs = true; } |