]> gcc.gnu.org Git - gcc.git/commit - gcc/cfgexpand.c
re PR target/39146 (Unnecessary stack alignment)
authorJoey Ye <joey.ye@intel.com>
Fri, 12 Jun 2009 12:54:30 +0000 (05:54 -0700)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 12 Jun 2009 12:54:30 +0000 (05:54 -0700)
commitf85882d8e1640453ca69be5ed13863167b26d869
tree89cf6e9d3389a80f867d5f7c9315355646308b30
parentfc9f468b5fbc938fb39fd1917918b37fc3448496
re PR target/39146 (Unnecessary stack alignment)

gcc/

2009-06-12  Joey Ye  <joey.ye@intel.com>

PR middle-end/39146
* cfgexpand.c (get_decl_align_unit): Update
max_used_stack_slot_alignment with align instead of
stack_alignment_needed.

* function.c (assign_stack_local_1): Update
max_used_stack_slot_alignment with alignment_in_bits instead
of stack_alignment_needed.
(locate_and_pad_parm): Don't update max_used_stack_slot_alignment
here.

gcc/testsuite/

2009-06-12  Joey Ye  <joey.ye@intel.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/39146
* gcc.target/i386/stackalign/pr39146.c: New.

From-SVN: r148428
gcc/ChangeLog
gcc/cfgexpand.c
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stackalign/pr39146.c [new file with mode: 0644]
This page took 0.06004 seconds and 5 git commands to generate.