diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
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 |