diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2018-11-25 22:44:38 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2018-11-25 22:44:38 -0500 |
commit | 2d30555621ecb8e861e5377c42b33d1413248e6c (patch) | |
tree | cd80d91ae09ebdb62c4b604e5ec4fc1370e7c9f0 | |
parent | 721b7fd257f4dead1c14c48a1256c3ae46b7f36a (diff) | |
download | gcc-2d30555621ecb8e861e5377c42b33d1413248e6c.zip gcc-2d30555621ecb8e861e5377c42b33d1413248e6c.tar.gz gcc-2d30555621ecb8e861e5377c42b33d1413248e6c.tar.bz2 |
re PR c/57166 (Manual no longer documents -Wmissing-noreturn alias for -Wsuggest-attribute=noreturn)
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5c73fc..b576dce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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 * doc/extend.texi (Common Function Attributes): Clarify that functions with "const" attribute can read const global variables. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 77bdfaa..38e27a5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |