This is the mail archive of the gcc-bugs@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]

[Bug middle-end/48608] Alignment adjust of local variables is lost


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48608

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-04-14 17:10:32 UTC ---
Author: hjl
Date: Thu Apr 14 17:10:24 2011
New Revision: 172438

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172438
Log:
Update alignment on local variables.

2011-04-14  H.J. Lu  <hongjiu.lu@intel.com>

    PR middle-end/48608
    * cfgexpand.c (get_decl_align_unit): Renamed to ...
    (align_local_variable): This.  Update DECL_ALIGN.
    (add_stack_var): Updated.
    (expand_one_stack_var): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c


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