From 5ed9a5d02fbd446331593ea9804ff55624ad7fba Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 13 Jul 2020 13:42:52 -0700 Subject: [PATCH] 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. --- gcc/doc/gty.texi | 2 +- gcc/doc/invoke.texi | 1 - 2 files changed, 1 insertion(+), 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. -- 2.7.4