diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2003-10-20 16:28:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-10-20 16:28:51 -0400 |
commit | ea258926e64ffdd503cd5dbd403f3f7f7364e011 (patch) | |
tree | d5d865a66de5e0f4fe889333b6f950571038b97b /gcc | |
parent | c7560266087585d8d1022bba563d5b03ae44ba26 (diff) | |
download | gcc-ea258926e64ffdd503cd5dbd403f3f7f7364e011.zip gcc-ea258926e64ffdd503cd5dbd403f3f7f7364e011.tar.gz gcc-ea258926e64ffdd503cd5dbd403f3f7f7364e011.tar.bz2 |
class.c (layout_class_type): Set DECL_ARTIFICIAL on padding field.
* class.c (layout_class_type): Set DECL_ARTIFICIAL on padding
field.
From-SVN: r72717
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/cp/class.c | 1 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ca19a4b..8222fbb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-10-20 Jason Merrill <jason@redhat.com> + + * class.c (layout_class_type): Set DECL_ARTIFICIAL on padding + field. + 2003-10-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/9781, c++/10583, c++/11862 @@ -27,8 +32,8 @@ 2003-10-15 Jan Hubicka <jh@suse.cz> - pr c++/12574 - * decl2.c (cxx_callgraph_analyze_expr): deal with baselink. + PR c++/12574 + * decl2.c (cxx_callgraph_analyze_expr): Deal with baselink. 2003-10-14 Jason Merrill <jason@redhat.com> diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 17ff0e4..872556a 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4815,6 +4815,7 @@ layout_class_type (tree t, tree *virtuals_p) DECL_BIT_FIELD (padding_field) = 1; DECL_SIZE (padding_field) = padding; DECL_CONTEXT (padding_field) = t; + DECL_ARTIFICIAL (padding_field) = 1; layout_nonempty_base_or_field (rli, padding_field, NULL_TREE, empty_base_offsets); |