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.
This commit is contained in:
Nathan Sidwell 2020-07-13 13:42:52 -07:00
parent 81072bab8d
commit 5ed9a5d02f
2 changed files with 1 additions and 2 deletions

View file

@ -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.

View file

@ -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.