diff options
author | Richard Henderson <rth@redhat.com> | 2012-08-01 20:41:16 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2012-08-01 20:41:16 +0000 |
commit | 97ea5dfa3032696755d4826e778fa8b405eded1a (patch) | |
tree | 040c558b53700de0429c84a129ccd952f1ec8dfb /gcc/function.h | |
parent | f8cd7dff0aab5c53631363d7b7fa96d3eb510bc2 (diff) |
PR 34548
* function.h (struct rtl_data): Add max_dynamic_stack_alignment.
* cfgexpand.c (gimple_expand_cfg): Initialise it.
* explow.c (allocate_dynamic_stack_space): Set it. Simplify
alignment requirements given the known alignment of dynamic_offset.
* function.c (instantiate_virtual_regs): Align dtnamic_offset.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 3d3313fc9b3..ed6fcb198d5 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -347,6 +347,10 @@ struct GTY(()) rtl_data { local stack. */ unsigned int stack_alignment_estimated; + /* The (capped) maximum alignment of dynamic stack space, and thus the + required alignment of STACK_DYNAMIC_OFFSET. */ + unsigned int max_dynamic_stack_alignment; + /* For reorg. */ /* If some insns can be deferred to the delay slots of the epilogue, the |