------- Comment #41 from jakub at gcc dot gnu dot org 2009-03-11 21:12 ------- Subject: Bug 39137
Author: jakub Date: Wed Mar 11 21:12:33 2009 New Revision: 144792 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144792 Log: PR target/39137 * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro. * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined. * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define. * config/i386/i386.c (ix86_local_alignment): For -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for long long variables on the stack to avoid dynamic realignment. Allow the first argument to be a decl rather than type. * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document. * gcc.target/i386/stackalign/longlong-1.c: New test. * gcc.target/i386/stackalign/longlong-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/stackalign/longlong-1.c trunk/gcc/testsuite/gcc.target/i386/stackalign/longlong-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c trunk/gcc/config/i386/i386.c trunk/gcc/config/i386/i386.h trunk/gcc/defaults.h trunk/gcc/doc/tm.texi trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39137