diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-11-23 18:00:23 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-11-23 18:00:23 +0000 |
commit | 1dbadbbecdb6ffeaf6497776e36fd58f157334f3 (patch) | |
tree | a4833c4a4c65323eb18c2edd3ede160b145d219d | |
parent | 8595dc52a0cef2f84e9dcc1e41c96737d90d55e6 (diff) | |
download | gcc-1dbadbbecdb6ffeaf6497776e36fd58f157334f3.zip gcc-1dbadbbecdb6ffeaf6497776e36fd58f157334f3.tar.gz gcc-1dbadbbecdb6ffeaf6497776e36fd58f157334f3.tar.bz2 |
* doc/options.texi (Warning, Optimization): Document.
From-SVN: r167089
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/options.texi | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67c3dfa..c65a054 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-11-23 Joseph Myers <joseph@codesourcery.com> + + * doc/options.texi (Warning, Optimization): Document. + 2010-11-23 Jan Hubicka <jh@suse.cz> * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): New macro. diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index 8c5c639..1bdf83d 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -340,6 +340,17 @@ is marked @code{Warn}, the target of the alias must not also be marked @item Report The state of the option should be printed by @option{-fverbose-asm}. +@item Warning +This is a warning option and should be shown as such in +@option{--help} output. This flag does not currently affect anything +other than @option{--help}. + +@item Optimization +This is an optimization option. It should be shown as such in +@option{--help} output, and any associated variable named using +@code{Var} should be saved and restored when the optimization level is +changed with @code{optimize} attributes. + @item Undocumented The option is deliberately missing documentation and should not be included in the @option{--help} output. |