aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-06-23 09:16:05 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-06-23 09:16:05 +0100
commit70fdc808941016567f8e55caea593324b15df230 (patch)
tree955e34f90c817788483028f9543102dd953d3d74 /gcc
parent3e20731323ec2491cab16ca5f69dd29f133125ef (diff)
downloadgcc-70fdc808941016567f8e55caea593324b15df230.zip
gcc-70fdc808941016567f8e55caea593324b15df230.tar.gz
gcc-70fdc808941016567f8e55caea593324b15df230.tar.bz2
PR c++/81187 fix -Wnoexcept-type entry in manual
PR c++/81187 * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from -Wnoexcept. From-SVN: r249584
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 087126d..e3245df 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR c++/81187
+ * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
+ -Wnoexcept.
+
2017-06-22 Matt Turner <mattst88@gmail.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Add Kaby
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