class.c (layout_virtual_bases): Adjust names in conditionally compiled code.

* class.c (layout_virtual_bases): Adjust names in conditionally
	compiled code.

From-SVN: r32680
This commit is contained in:
Mark Mitchell
2000-03-22 05:39:35 +00:00
committed by Mark Mitchell
parent 9785e4b1f3
commit 736fb49718
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,5 +1,8 @@
2000-03-21 Mark Mitchell <mark@codesourcery.com>
* class.c (layout_virtual_bases): Adjust names in conditionally
compiled code.
* class.c (record_base_offsets): New function.
(layout_conflict_p): Likewise.
(layout_nonempty_base_or_field): Use it.
+2 -2
View File
@@ -4827,8 +4827,8 @@ layout_virtual_bases (t, base_offsets)
#ifdef STRUCTURE_SIZE_BOUNDARY
/* Packed structures don't need to have minimum size. */
if (! TYPE_PACKED (rec))
TYPE_ALIGN (rec) = MAX (TYPE_ALIGN (rec), STRUCTURE_SIZE_BOUNDARY);
if (! TYPE_PACKED (t))
TYPE_ALIGN (t) = MAX (TYPE_ALIGN (t), STRUCTURE_SIZE_BOUNDARY);
#endif
/* DSIZE is the size of the class without the virtual bases. */