aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-10-01 12:48:50 +0000
committerNick Clifton <nickc@gcc.gnu.org>2010-10-01 12:48:50 +0000
commitccaeeafe6979762a81885aa8f5c521a87ecf23ed (patch)
treecf182ba85ca7af225b6974defdf77f77f2d0e86b /gcc/doc
parent0d228a5255e2e2917cc8807f427221a36a583f4b (diff)
downloadgcc-ccaeeafe6979762a81885aa8f5c521a87ecf23ed.zip
gcc-ccaeeafe6979762a81885aa8f5c521a87ecf23ed.tar.gz
gcc-ccaeeafe6979762a81885aa8f5c521a87ecf23ed.tar.bz2
common.opt: Add -fcombine-stack-adjustments.
* common.opt: Add -fcombine-stack-adjustments. * opts.c (decode_options): Enable -fcombine-stack-adjustments at -O1. * combine-stack-adj.c (gate_handle_stack_adjustments): Check flag_combine_stack_adjustments. * doc/invoke.texi: Document the new option. From-SVN: r164883
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index df39e16..057ae7d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -334,7 +334,8 @@ Objective-C and Objective-C++ Dialects}.
-falign-labels[=@var{n}] -falign-loops[=@var{n}] -fassociative-math @gol
-fauto-inc-dec -fbranch-probabilities -fbranch-target-load-optimize @gol
-fbranch-target-load-optimize2 -fbtr-bb-exclusive -fcaller-saves @gol
--fcheck-data-deps -fconserve-stack -fcprop-registers -fcrossjumping @gol
+-fcheck-data-deps -fcombine-stack-adjustments -fconserve-stack @gol
+-fcprop-registers -fcrossjumping @gol
-fcse-follow-jumps -fcse-skip-blocks -fcx-fortran-rules @gol
-fcx-limited-range @gol
-fdata-sections -fdce -fdce @gol
@@ -6618,6 +6619,13 @@ those which have no call-preserved registers to use instead.
Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}.
+@item -fcombine-stack-adjustments
+@opindex fcombine-stack-adjustments
+Tracks stack adjustments (pushes and pops) and stack memory references
+and then tries to find ways to combine them.
+
+Enabled by default at @option{-O1} and higher.
+
@item -fconserve-stack
@opindex fconserve-stack
Attempt to minimize stack usage. The compiler will attempt to use less