invoke.texi (-Wsuggest-attribute): Add item for noreturn.

2010-06-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* doc/invoke.texi (-Wsuggest-attribute): Add item for noreturn.

From-SVN: r161383
parent 3e485f62
2010-06-25 Manuel López-Ibáñez <manu@gcc.gnu.org>
* doc/invoke.texi (-Wsuggest-attribute): Add item for noreturn.
2010-06-25 Jan Hubicka <jh@suse.cz> 2010-06-25 Jan Hubicka <jh@suse.cz>
* tree-pass.h (pass_split_functions): Declare. * tree-pass.h (pass_split_functions): Declare.
......
...@@ -258,7 +258,7 @@ Objective-C and Objective-C++ Dialects}. ...@@ -258,7 +258,7 @@ Objective-C and Objective-C++ Dialects}.
-Wsign-compare -Wsign-conversion -Wstack-protector @gol -Wsign-compare -Wsign-conversion -Wstack-protector @gol
-Wstrict-aliasing -Wstrict-aliasing=n @gol -Wstrict-aliasing -Wstrict-aliasing=n @gol
-Wstrict-overflow -Wstrict-overflow=@var{n} @gol -Wstrict-overflow -Wstrict-overflow=@var{n} @gol
-Wsuggest-attribute=@r{[}const@r{|}pure@r{]} @gol -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{]} @gol
-Wswitch -Wswitch-default -Wswitch-enum -Wsync-nand @gol -Wswitch -Wswitch-default -Wswitch-enum -Wsync-nand @gol
-Wsystem-headers -Wtrigraphs -Wtype-limits -Wundef -Wuninitialized @gol -Wsystem-headers -Wtrigraphs -Wtype-limits -Wundef -Wuninitialized @gol
-Wunknown-pragmas -Wno-pragmas @gol -Wunknown-pragmas -Wno-pragmas @gol
...@@ -3669,7 +3669,7 @@ comparisons, so this warning level will give a very large number of ...@@ -3669,7 +3669,7 @@ comparisons, so this warning level will give a very large number of
false positives. false positives.
@end table @end table
@item -Wsuggest-attribute=@r{[}const@r{|}pure@r{|}noreturn@r{]} @item -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{]}
@opindex Wsuggest-attribute= @opindex Wsuggest-attribute=
@opindex Wno-suggest-attribute= @opindex Wno-suggest-attribute=
Warn for cases where adding an attribute may be beneficial. The Warn for cases where adding an attribute may be beneficial. The
...@@ -3678,6 +3678,7 @@ attributes currently supported are listed below. ...@@ -3678,6 +3678,7 @@ attributes currently supported are listed below.
@table @gcctabopt @table @gcctabopt
@item -Wsuggest-attribute=pure @item -Wsuggest-attribute=pure
@itemx -Wsuggest-attribute=const @itemx -Wsuggest-attribute=const
@itemx -Wsuggest-attribute=noreturn
@opindex Wsuggest-attribute=pure @opindex Wsuggest-attribute=pure
@opindex Wno-suggest-attribute=pure @opindex Wno-suggest-attribute=pure
@opindex Wsuggest-attribute=const @opindex Wsuggest-attribute=const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment