]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/34548 (GCC generates too many alignment adds for alloca)
authorRichard Henderson <rth@redhat.com>
Wed, 1 Aug 2012 20:41:16 +0000 (13:41 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Aug 2012 20:41:16 +0000 (13:41 -0700)
commit70ce4a25c465584cee191674cefe7b00aa47def4
tree040c558b53700de0429c84a129ccd952f1ec8dfb
parent91f8035e9b79eef334ef701af7bb05ff9b5780be
re PR middle-end/34548 (GCC generates too many alignment adds for alloca)

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.

From-SVN: r190051
gcc/ChangeLog
gcc/cfgexpand.c
gcc/explow.c
gcc/function.c
gcc/function.h