diff options
author | Nick Clifton <nickc@redhat.com> | 2010-10-01 12:48:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2010-10-01 12:48:50 +0000 |
commit | ccaeeafe6979762a81885aa8f5c521a87ecf23ed (patch) | |
tree | cf182ba85ca7af225b6974defdf77f77f2d0e86b /gcc/combine-stack-adj.c | |
parent | 0d228a5255e2e2917cc8807f427221a36a583f4b (diff) | |
download | gcc-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/combine-stack-adj.c')
-rw-r--r-- | gcc/combine-stack-adj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine-stack-adj.c b/gcc/combine-stack-adj.c index 96bfb3a..0a7b53e 100644 --- a/gcc/combine-stack-adj.c +++ b/gcc/combine-stack-adj.c @@ -546,7 +546,7 @@ combine_stack_adjustments_for_block (basic_block bb) static bool gate_handle_stack_adjustments (void) { - return (optimize > 0); + return flag_combine_stack_adjustments; } static unsigned int |