This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 4.5]: Fix PR39146 unneccesary stack realign


Refer to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39146

gcc/ChangeLog:
2009-03-01  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.

Modified:
    branches/stack/gcc/cfgexpand.c
    branches/stack/gcc/function.c

testsuites/ChangeLog:
2009-03-01  H.J. Lu  <hongjiu.lu@intel.com>

     * gcc.target/i386/avx-m256-align.c: New testcase.

Thanks - Joey 

Attachment: gcc-pr39146-1.patch
Description: gcc-pr39146-1.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]