This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r107712 - in /branches/gcc-4_1-branch/gcc: Chan...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Nov 2005 10:29:11 -0000
- Subject: r107712 - in /branches/gcc-4_1-branch/gcc: Chan...
Author: nathan
Date: Wed Nov 30 10:29:09 2005
New Revision: 107712
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107712
Log:
.:
PR c++/21166
* c-decl.c (finish_struct): Only set DECL_PACKED on a field
when its natural alignment is > BITS_PER_UNIT.
* stor-layout.c (finalize_type_size): Revert my patch of 2005-08-08.
* c-common.c (handle_packed_attribute): Ignore packing on a field
whose type is naturally char aligned.
cp:
PR c++/21166
* class.c (check_field_decls): Only set DECL_PACKED on a field
when its natural alignment is > BITS_PER_UNIT.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/c-common.c
branches/gcc-4_1-branch/gcc/c-decl.c
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/class.c
branches/gcc-4_1-branch/gcc/stor-layout.c