diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-01 12:48:50 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-01 12:48:50 +0000 |
commit | bbb0a662acf72110a1f3f46939d72f6d40bae76f (patch) | |
tree | cf182ba85ca7af225b6974defdf77f77f2d0e86b /gcc/combine-stack-adj.c | |
parent | e54fce5ce2112c48c6ef6cc37f561ccc7104c5a7 (diff) | |
download | gcc-bbb0a662acf72110a1f3f46939d72f6d40bae76f.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164883 138bc75d-0d04-0410-961f-82ee72b054a4
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 96bfb3a633e..0a7b53e250b 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 |