OSDN Git Service

gcc/
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jun 2009 12:54:30 +0000 (12:54 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jun 2009 12:54:30 +0000 (12:54 +0000)
commitbd9c33a874cd7fad9e5b0435781f4e3371d2cc93
tree89cf6e9d3389a80f867d5f7c9315355646308b30
parente59b3312e1cf35a12d67cafa87f9635302f8cae9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148428 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/stackalign/pr39146.c [new file with mode: 0644]