summaryrefslogtreecommitdiff
path: root/gcc/doc/options.texi
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-23 18:00:23 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-23 18:00:23 +0000
commitd27c69c9081ab17fa360b73c6e9e2eed536565ce (patch)
treea4833c4a4c65323eb18c2edd3ede160b145d219d /gcc/doc/options.texi
parentd401a79555f55c39b993923da9f6220350c50001 (diff)
downloadgcc-d27c69c9081ab17fa360b73c6e9e2eed536565ce.tar.gz
* doc/options.texi (Warning, Optimization): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167089 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r--gcc/doc/options.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 8c5c6399316..1bdf83dcf85 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.