class.c (build_vtbl_initializer): Change build_c_cast to build1.
* cp/class.c (build_vtbl_initializer): Change build_c_cast to build1. From-SVN: r57712
This commit is contained in:
parent
b6aa31c56a
commit
2e88ae2267
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-10-01 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* cp/class.c (build_vtbl_initializer): Change build_c_cast
|
||||
to build1.
|
||||
|
||||
2002-10-01 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (cp_finish_decl): Correct check for dynamic
|
||||
|
|
|
@ -7617,8 +7617,8 @@ build_vtbl_initializer (binfo, orig_binfo, t, rtti_binfo, non_fn_entries_p)
|
|||
|
||||
for (i = 1; i < TARGET_VTABLE_DATA_ENTRY_DISTANCE; ++i)
|
||||
add = tree_cons (NULL_TREE,
|
||||
build_c_cast (vtable_entry_type,
|
||||
size_zero_node),
|
||||
build1 (NOP_EXPR, vtable_entry_type,
|
||||
null_pointer_node),
|
||||
add);
|
||||
*prev = add;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue