From: Sandra Loosemore Date: Mon, 26 Nov 2018 03:44:38 +0000 (-0500) Subject: re PR c/57166 (Manual no longer documents -Wmissing-noreturn alias for -Wsuggest... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d30555621ecb8e861e5377c42b33d1413248e6c;p=gcc.git re PR c/57166 (Manual no longer documents -Wmissing-noreturn alias for -Wsuggest-attribute=noreturn) 2018-11-25 Sandra Loosemore PR c/57166 gcc/ * doc/invoke.texi (Option Summary): Add -Wmissing-noreturn. (Warning Options): Likewise. From-SVN: r266446 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5c73fcafe0..b576dce40ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-25 Sandra Loosemore + + PR c/57166 + * doc/invoke.texi (Option Summary): Add -Wmissing-noreturn. + (Warning Options): Likewise. + 2018-11-25 Sandra Loosemore PR web/79738 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 77bdfaad3eb..38e27a50a1e 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