Commit b4a3af07 by Steve Ellcey Committed by Steve Ellcey

invoke.texi (-fopt-info): Explicitly say order of options included in -fopt-info does not matter.

2017-05-05  Steve Ellcey  <sellcey@cavium.com>

	* doc/invoke.texi (-fopt-info): Explicitly say order of options
	included in -fopt-info does not matter.
	* doc/optinfo.texi (-fopt-info): Fix description of default
	behavour. Explicitly say order of options included in -fopt-info
	does not matter.

From-SVN: r247648
parent 2f738ca5
2017-05-05 Steve Ellcey <sellcey@cavium.com>
* doc/invoke.texi (-fopt-info): Explicitly say order of options
included in -fopt-info does not matter.
* doc/optinfo.texi (-fopt-info): Fix description of default
behavour. Explicitly say order of options included in -fopt-info
does not matter.
2017-05-05 Thomas Preud'homme <thomas.preudhomme@arm.com> 2017-05-05 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config.gcc: Allow combinations of aprofile and rmprofile values for * config.gcc: Allow combinations of aprofile and rmprofile values for
......
...@@ -13219,7 +13219,8 @@ gcc -O2 -ftree-vectorize -fopt-info-vec-missed ...@@ -13219,7 +13219,8 @@ gcc -O2 -ftree-vectorize -fopt-info-vec-missed
prints information about missed optimization opportunities from prints information about missed optimization opportunities from
vectorization passes on @file{stderr}. vectorization passes on @file{stderr}.
Note that @option{-fopt-info-vec-missed} is equivalent to Note that @option{-fopt-info-vec-missed} is equivalent to
@option{-fopt-info-missed-vec}. @option{-fopt-info-missed-vec}. The order of the optimization group
names and message types listed after @option{-fopt-info} does not matter.
As another example, As another example,
@smallexample @smallexample
......
...@@ -208,16 +208,18 @@ optimized locations from all the inlining passes into ...@@ -208,16 +208,18 @@ optimized locations from all the inlining passes into
If the @var{filename} is provided, then the dumps from all the If the @var{filename} is provided, then the dumps from all the
applicable optimizations are concatenated into the @file{filename}. applicable optimizations are concatenated into the @file{filename}.
Otherwise the dump is output onto @file{stderr}. If @var{options} is Otherwise the dump is output onto @file{stderr}. If @var{options} is
omitted, it defaults to @option{all-all}, which means dump all omitted, it defaults to @option{optimized-optall}, which means dump
available optimization info from all the passes. In the following all information about successful optimizations from all the passes.
example, all optimization info is output on to @file{stderr}. In the following example, the optimization information is output on
to @file{stderr}.
@smallexample @smallexample
gcc -O3 -fopt-info gcc -O3 -fopt-info
@end smallexample @end smallexample
Note that @option{-fopt-info-vec-missed} behaves the same as Note that @option{-fopt-info-vec-missed} behaves the same as
@option{-fopt-info-missed-vec}. @option{-fopt-info-missed-vec}. The order of the optimization group
names and message types listed after @option{-fopt-info} does not matter.
As another example, consider As another example, consider
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment