Commit ea258926 by Jason Merrill

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
parent c7560266
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> 2003-10-20 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9781, c++/10583, c++/11862 PR c++/9781, c++/10583, c++/11862
...@@ -27,8 +32,8 @@ ...@@ -27,8 +32,8 @@
2003-10-15 Jan Hubicka <jh@suse.cz> 2003-10-15 Jan Hubicka <jh@suse.cz>
pr c++/12574 PR c++/12574
* decl2.c (cxx_callgraph_analyze_expr): deal with baselink. * decl2.c (cxx_callgraph_analyze_expr): Deal with baselink.
2003-10-14 Jason Merrill <jason@redhat.com> 2003-10-14 Jason Merrill <jason@redhat.com>
......
...@@ -4815,6 +4815,7 @@ layout_class_type (tree t, tree *virtuals_p) ...@@ -4815,6 +4815,7 @@ layout_class_type (tree t, tree *virtuals_p)
DECL_BIT_FIELD (padding_field) = 1; DECL_BIT_FIELD (padding_field) = 1;
DECL_SIZE (padding_field) = padding; DECL_SIZE (padding_field) = padding;
DECL_CONTEXT (padding_field) = t; DECL_CONTEXT (padding_field) = t;
DECL_ARTIFICIAL (padding_field) = 1;
layout_nonempty_base_or_field (rli, padding_field, layout_nonempty_base_or_field (rli, padding_field,
NULL_TREE, NULL_TREE,
empty_base_offsets); empty_base_offsets);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment