]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* doc/options.texi (Warning, Optimization): Document.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 23 Nov 2010 18:00:23 +0000 (18:00 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 23 Nov 2010 18:00:23 +0000 (18:00 +0000)
From-SVN: r167089

gcc/ChangeLog
gcc/doc/options.texi

index 67c3dfa0bfe7b4f0550f4f941d911a5a7f19e2b9..c65a0545f9a9c8d5728a01caa84c375bc04e0045 100644 (file)
@@ -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.
index 8c5c6399316cd48d2c719946a72979335ab392dd..1bdf83dcf85fbf1944f4f50454fbf3f33226ca0f 100644 (file)
@@ -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.