]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/44542 (expand_one_stack_var_at may set DECL_ALIGN to a too high value)
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Jul 2010 17:54:32 +0000 (19:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Jul 2010 17:54:32 +0000 (19:54 +0200)
commitf3184b4ce1ce9b81120c666b8a548f49e1d628e1
treedb5d67609e125cebb376269e9b2484c84a524362
parentfea31288e6ee4c60874e61de5e7477af26bc05da
re PR target/44542 (expand_one_stack_var_at may set DECL_ALIGN to a too high value)

PR target/44542
* cfgexpand.c (expand_one_stack_var_at): Limit align to maximum
of max_used_stack_slot_alignment and PREFERRED_STACK_BOUNDARY
instead of MAX_SUPPORTED_STACK_ALIGNMENT.
(expand_one_var): Don't consider DECL_ALIGN for variables for
which expand_one_stack_var_at has been already called.

From-SVN: r162582
gcc/ChangeLog
gcc/cfgexpand.c