aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-02-28 11:10:44 +0100
committerJakub Jelinek <jakub@redhat.com>2021-02-28 11:12:57 +0100
commitd3805e6d575752141888dc29af7f0337df8a2f72 (patch)
treedbf285b05dd478a7094e9e81c57bd6e87179efca /gcc/doc
parentec9dc4fa0803cb85ae0b981ca0d6a406e8f6669c (diff)
downloadgcc-d3805e6d575752141888dc29af7f0337df8a2f72.zip
gcc-d3805e6d575752141888dc29af7f0337df8a2f72.tar.gz
gcc-d3805e6d575752141888dc29af7f0337df8a2f72.tar.bz2
typos: Fix various typos - mainly misspelled reference* [PR99304]
The PR is about a typo in handle_malloc_attribute diagnostic message, but grepping around I found many other cases and while fixing those I've noticed a couple of other typos. 2021-02-28 Jakub Jelinek <jakub@redhat.com> PR c/99304 * ipa.c (symbol_table::remove_unreachable_nodes): Fix a comment typo - referneced -> referenced. * tree.c (component_ref_size): Fix comment typo - refernce -> reference. * tree-ssa-alias.c (access_path_may_continue_p): Fix comment typo - traling -> trailing. (aliasing_component_refs_p): Fix comment typos - refernce -> reference and refernece -> reference and traling -> trailing. (nonoverlapping_refs_since_match_p): Fix comment typo - referneces -> references. * doc/invoke.texi (--param modref-max-bases): Fix a typo - referneces -> references. gcc/c-family/ * c-attribs.c (handle_malloc_attribute): Fix a typo in inform message - refernced -> referenced. Remove superfluous space before closing paren of function calls. gcc/lto/ * lto-symtab.c (lto_symtab_prevailing_virtual_decl): Fix comment typos - refernced -> referenced and devirtualizaiton -> devirtualization.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 546e954..4bd4f39 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -13257,7 +13257,7 @@ are shared across multiple compilation units.
@item modref-max-bases
@item modref-max-refs
@item modref-max-accesses
-Specifies the maximal number of base pointers, referneces and accesses stored
+Specifies the maximal number of base pointers, references and accesses stored
for a single function by mod/ref analysis.
@item modref-max-tests