PR c++/81187
        * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
        -Wnoexcept.

Committed to trunk as obvious. Will also commit to gcc-7-branch.
commit 3c1266fdb7cf6241d9a08109160bf86753d733bd
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Jun 23 09:13:06 2017 +0100

    PR c++/81187 fix -Wnoexcept-type entry in manual
    
        PR c++/81187
        * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
        -Wnoexcept.

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7e7a16a5..7c81f0d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2908,7 +2908,7 @@ to a function that does not have a non-throwing exception
 specification (i.e. @code{throw()} or @code{noexcept}) but is known by
 the compiler to never throw an exception.
 
-@item -Wnoexcept @r{(C++ and Objective-C++ only)}
+@item -Wnoexcept-type @r{(C++ and Objective-C++ only)}
 @opindex Wnoexcept-type
 @opindex Wno-noexcept-type
 Warn if the C++1z feature making @code{noexcept} part of a function

Reply via email to