aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2002-12-19 02:31:50 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2002-12-19 02:31:50 +0000
commit50cb905943edf0ec3d97ea6b83cd2a4d5985f461 (patch)
tree1108d046d21607bd715b3374669b9a637caa4261 /gcc
parent58c3ef5c9e9401277a1a22482b5006f179c731e1 (diff)
downloadgcc-50cb905943edf0ec3d97ea6b83cd2a4d5985f461.zip
gcc-50cb905943edf0ec3d97ea6b83cd2a4d5985f461.tar.gz
gcc-50cb905943edf0ec3d97ea6b83cd2a4d5985f461.tar.bz2
class.c (build_base_field): Do not set DECL_PACKED on the FIELD_DECL.
* class.c (build_base_field): Do not set DECL_PACKED on the FIELD_DECL. From-SVN: r60277
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/class.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 342f2ec..dbf0942 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-18 Mark Mitchell <mark@codesourcery.com>
+
+ * class.c (build_base_field): Do not set DECL_PACKED on the
+ FIELD_DECL.
+
2002-12-18 Gabriel Dos Reis <gdr@integrable-solutions.net>
* cp-tree.h (struct tree_srcloc): Use location_t.
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 9f95c99..6035e05 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -3889,8 +3889,6 @@ build_base_field (record_layout_info rli, tree binfo,
DECL_SIZE_UNIT (decl) = CLASSTYPE_SIZE_UNIT (basetype);
DECL_ALIGN (decl) = CLASSTYPE_ALIGN (basetype);
DECL_USER_ALIGN (decl) = CLASSTYPE_USER_ALIGN (basetype);
- /* Tell the backend not to round up to TYPE_ALIGN. */
- DECL_PACKED (decl) = 1;
/* Try to place the field. It may take more than one try if we
have a hard time placing the field without putting two