Commit aa1e6de6 by Jason Merrill Committed by Jason Merrill

* init.c (construct_virtual_bases): Fix thinko.

From-SVN: r32272
parent bad8ed14
2000-02-29 Jason Merrill <jason@casey.cygnus.com>
* init.c (construct_virtual_bases): Fix thinko.
2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
* decl.c (current_function_decl): Move to toplev.c.
......
......@@ -801,7 +801,8 @@ construct_virtual_bases (type, this_ref, this_ptr, init_list, flag)
exp = build (PLUS_EXPR,
TREE_TYPE (this_ptr),
this_ptr,
fold (build1 (NOP_EXPR, this_ptr, BINFO_OFFSET (vbases))));
fold (build1 (NOP_EXPR, TREE_TYPE (this_ptr),
BINFO_OFFSET (vbases))));
exp = build1 (NOP_EXPR,
build_pointer_type (BINFO_TYPE (vbases)),
exp);
......
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