re PR c/57166 (Manual no longer documents -Wmissing-noreturn alias for -Wsuggest...
authorSandra Loosemore <sandra@codesourcery.com>
Mon, 26 Nov 2018 03:44:38 +0000 (22:44 -0500)
committerSandra Loosemore <sandra@gcc.gnu.org>
Mon, 26 Nov 2018 03:44:38 +0000 (22:44 -0500)
2018-11-25  Sandra Loosemore  <sandra@codesourcery.com>

PR c/57166

gcc/
* doc/invoke.texi (Option Summary): Add -Wmissing-noreturn.
(Warning Options): Likewise.

From-SVN: r266446

gcc/ChangeLog
gcc/doc/invoke.texi

index f5c73fcafe0c1b563401dd344d9b8d3573f14599..b576dce40ac838e6fdf3f1320a236e7adc4ca674 100644 (file)
@@ -1,3 +1,9 @@
+2018-11-25  Sandra Loosemore  <sandra@codesourcery.com>
+
+       PR c/57166
+       * doc/invoke.texi (Option Summary): Add -Wmissing-noreturn.
+       (Warning Options): Likewise.
+
 2018-11-25  Sandra Loosemore  <sandra@codesourcery.com>
 
        PR web/79738
index 77bdfaad3ebbdb84c36cfe256d0ab3669a8d1a2c..38e27a50a1e6407d608ce5d279fd3cad90c2ca4a 100644 (file)
@@ -319,7 +319,8 @@ Objective-C and Objective-C++ Dialects}.
 -Wlogical-op  -Wlogical-not-parentheses  -Wlong-long @gol
 -Wmain  -Wmaybe-uninitialized  -Wmemset-elt-size  -Wmemset-transposed-args @gol
 -Wmisleading-indentation  -Wno-missing-attributes  -Wmissing-braces @gol
--Wmissing-field-initializers  -Wmissing-include-dirs  -Wmissing-profile @gol
+-Wmissing-field-initializers  -Wmissing-format-attribute @gol
+-Wmissing-include-dirs  -Wmissing-noreturn  -Wmissing-profile @gol
 -Wno-multichar  -Wmultistatement-macros  -Wnonnull  -Wnonnull-compare @gol
 -Wnormalized=@r{[}none@r{|}id@r{|}nfc@r{|}nfkc@r{]} @gol
 -Wnull-dereference  -Wodr  -Wno-overflow  -Wopenmp-simd  @gol
@@ -339,10 +340,9 @@ Objective-C and Objective-C++ Dialects}.
 -Wsizeof-pointer-memaccess  -Wsizeof-array-argument @gol
 -Wstack-protector  -Wstack-usage=@var{byte-size}  -Wstrict-aliasing @gol
 -Wstrict-aliasing=n  -Wstrict-overflow  -Wstrict-overflow=@var{n} @gol
--Wstringop-overflow=@var{n}  -Wstringop-truncation @gol
+-Wstringop-overflow=@var{n}  -Wstringop-truncation  -Wsubobject-linkage @gol
 -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{|}format@r{|}malloc@r{]} @gol
 -Wsuggest-final-types @gol  -Wsuggest-final-methods  -Wsuggest-override @gol
--Wmissing-format-attribute  -Wsubobject-linkage @gol
 -Wswitch  -Wswitch-bool  -Wswitch-default  -Wswitch-enum @gol
 -Wswitch-unreachable  -Wsync-nand @gol
 -Wsystem-headers  -Wtautological-compare  -Wtrampolines  -Wtrigraphs @gol
@@ -5848,6 +5848,7 @@ attributes currently supported are listed below.
 @item -Wsuggest-attribute=pure
 @itemx -Wsuggest-attribute=const
 @itemx -Wsuggest-attribute=noreturn
+@itemx -Wmissing-noreturn
 @itemx -Wsuggest-attribute=malloc
 @opindex Wsuggest-attribute=pure
 @opindex Wno-suggest-attribute=pure
@@ -5855,6 +5856,8 @@ attributes currently supported are listed below.
 @opindex Wno-suggest-attribute=const
 @opindex Wsuggest-attribute=noreturn
 @opindex Wno-suggest-attribute=noreturn
+@opindex Wmissing-noreturn
+@opindex Wno-missing-noreturn
 @opindex Wsuggest-attribute=malloc
 @opindex Wno-suggest-attribute=malloc