------- Comment #3 from jakub at gcc dot gnu dot org 2010-06-15 12:53 ------- Created an attachment (id=20914) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20914&action=view) gcc46-pr44542.patch
For the "don't use changed DECL_ALIGN for stack estimation after expand_one_stack_var_at has been called" subprogram we can do something like this. For the other issue, I wonder if we couldn't limit align in expand_one_stack_var_at to minimum of MAX_SUPPORTED_STACK_ALIGNMENT and crtl->stack_alignment_estimated or something similar. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44542