Pushed as obvious.
-- >8 --
gcc/ChangeLog:
PR c++/110595
PR c++/110596
* doc/invoke.texi (Warning Options): Fix typos.
---
gcc/doc/invoke.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 594b24d0c2a..3063e71c890 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6730,7 +6730,7 @@ Warn if the compiler does not elide the copy from a local
variable to
the return value of a function in a context where it is allowed by
[class.copy.elision]. This elision is commonly known as the Named
Return Value Optimization. For instance, in the example below the
-compiler cannot elide copies from both v1 and b2, so it elides neither.
+compiler cannot elide copies from both v1 and v2, so it elides neither.
@smallexample
std::vector<int> f()
@@ -7086,7 +7086,7 @@ This warning is enabled by @option{-Wall}.
@opindex Wmissing-include-dirs
@opindex Wno-missing-include-dirs
@item -Wmissing-include-dirs @r{(C, C++, Objective-C, Objective-C++ and
Fortran only)}
-Warn if a user-supplied include directory does not exist. This opions is
disabled
+Warn if a user-supplied include directory does not exist. This option is
disabled
by default for C, C++, Objective-C and Objective-C++. For Fortran, it is
partially
enabled by default by warning for -I and -J, only.
--
2.41.0