This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for 32-bit vtable
- From: "Jessica Han" <jessica at cup dot hp dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <rth at redhat dot com>
- Date: Fri, 12 Jul 2002 14:58:17 -0700
- Subject: Patch for 32-bit vtable
- Reply-to: <jessica at cup dot hp dot com>
One small patch for 32-bit vtable on IPF, paddings should be interger zeros,
not null pointers.
Please review and check it in if OK, thanks.
----
Jessica Han
Open Source Tools
Hewlett-Packard
(408) 447-6154
2002-07-12 Jessica Han <jessica@cup.hp.com>
*cp/class.c Make padding in 32-bit vtable interger zeros.
*** class.c.1.457 Fri Jul 12 14:35:09 2002
--- class.c Fri Jul 12 14:47:43 2002
*************** build_vtbl_initializer (binfo, orig_binf
*** 7524,7530 ****
int i;
for (i = 1; i < TARGET_VTABLE_DATA_ENTRY_DISTANCE; ++i)
! add = tree_cons (NULL_TREE, null_pointer_node, add);
*prev = add;
}
}
--- 7524,7530 ----
int i;
for (i = 1; i < TARGET_VTABLE_DATA_ENTRY_DISTANCE; ++i)
! add = tree_cons (NULL_TREE, integer_zero_node, add);
*prev = add;
}
}