summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-25 09:56:43 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-25 07:56:43 +0000
commit38f78b0c69999b7e2eec2ce58a02d08b24be7f43 (patch)
tree8c1cc59c1197ad63bd1b44b1ca0272bfcaf9d1d3 /gcc
parent09a1e889cc466848ee188aa9987162ab4d7401aa (diff)
downloadgcc-38f78b0c69999b7e2eec2ce58a02d08b24be7f43.tar.gz
* doc/invoke.texi (-Wsuggest-attribute): Add noreturn.
From-SVN: r161364
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3304184c115..aab3abad54b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-25 Jan Hubicka <jh@suse.cz>
+
+ * doc/invoke.texi (-Wsuggest-attribute): Add noreturn.
+
2010-06-25 Shujing Zhao <pearly.zhao@oracle.com>
PR c/44517
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 3eae7d7a36e..7aa4e518713 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3669,7 +3669,7 @@ comparisons, so this warning level will give a very large number of
false positives.
@end table
-@item -Wsuggest-attribute=@r{[}const@r{|}pure@r{]}
+@item -Wsuggest-attribute=@r{[}const@r{|}pure@r{|}noreturn@r{]}
@opindex Wsuggest-attribute=
@opindex Wno-suggest-attribute=
Warn for cases where adding an attribute may be beneficial. The