aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-07-13 13:42:52 -0700
committerNathan Sidwell <nathan@acm.org>2020-07-14 06:11:53 -0700
commit5ed9a5d02fbd446331593ea9804ff55624ad7fba (patch)
tree1ea188bc026351045cc9dcda754f9ec1b6f1a445 /gcc
parent81072bab8d1e48ee83d9711dcb559ea1e019b351 (diff)
downloadgcc-5ed9a5d02fbd446331593ea9804ff55624ad7fba.zip
gcc-5ed9a5d02fbd446331593ea9804ff55624ad7fba.tar.gz
gcc-5ed9a5d02fbd446331593ea9804ff55624ad7fba.tar.bz2
doc: Fix some typos
gty calls gt_clear*e*_cache not gt_clear_cache. I know not why it is named so, but at least document it correctly. invoke.texi had a duplicate opindex. gcc/ * doc/gty.texi: Fic gt_cleare_cache name. * doc/invoke.texi: Remove duplicate opindex Wabi-tag.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/gty.texi2
-rw-r--r--gcc/doc/invoke.texi1
2 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi
index 9414d3c..f5c3104 100644
--- a/gcc/doc/gty.texi
+++ b/gcc/doc/gty.texi
@@ -250,7 +250,7 @@ for more information.
@findex cache
@item cache
-When the @code{cache} option is applied to a global variable gt_clear_cache is
+When the @code{cache} option is applied to a global variable gt_cleare_cache is
called on that variable between the mark and sweep phases of garbage
collection. The gt_clear_cache function is free to mark blocks as used, or to
clear pointers in the variable.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 09bcc5b..e34d03d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3272,7 +3272,6 @@ In addition, these warning options have meanings only for C++ programs:
@table @gcctabopt
@item -Wabi-tag @r{(C++ and Objective-C++ only)}
@opindex Wabi-tag
-@opindex Wabi-tag
Warn when a type with an ABI tag is used in a context that does not
have that ABI tag. See @ref{C++ Attributes} for more information
about ABI tags.