This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48608] Alignment adjust of local variables is lost
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Apr 2011 17:10:36 +0000
- Subject: [Bug middle-end/48608] Alignment adjust of local variables is lost
- Auto-submitted: auto-generated
- References: <bug-48608-4@http.gcc.gnu.org/bugzilla/>
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