From 8c70d28b4da7f0d7ed14425ec9ba6c3f99d25742 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Thu, 9 Apr 2009 18:48:03 -0400 Subject: [PATCH] invoke.texi (Optimize Options): Add cross-reference to -Q --help=optimizers examples. 2009-04-09 Sandra Loosemore gcc/ * doc/invoke.texi (Optimize Options): Add cross-reference to -Q --help=optimizers examples. From-SVN: r145864 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3efe49a5748..5e4bd00eb70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-04-09 Sandra Loosemore + + * doc/invoke.texi (Optimize Options): Add cross-reference to + -Q --help=optimizers examples. + 2009-04-10 Ben Elliston PR target/36800 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 28dd0cfef9a..29ccb2258cb 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5372,7 +5372,13 @@ the compiler to use information gained from all of the files when compiling each of them. Not all optimizations are controlled directly by a flag. Only -optimizations that have a flag are listed. +optimizations that have a flag are listed in this section. + +Depending on the target and how GCC was configured, a slightly different +set of optimizations may be enabled at each @option{-O} level than +those listed here. You can invoke GCC with @samp{-Q --help=optimizers} +to find out the exact set of optimizations that are enabled at each level. +@xref{Overall Options}, for examples. @table @gcctabopt @item -O