diff options
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r-- | gcc/cp/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c index e2ac3ba6636..6386f67f8c3 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -872,7 +872,8 @@ expand_virtual_init (binfo, decl) the vtt_parm in the case of the non-subobject constructor. */ vtbl = build (COND_EXPR, TREE_TYPE (vtbl), - DECL_USE_VTT_PARM (current_function_decl), + build (EQ_EXPR, boolean_type_node, + current_in_charge_parm, integer_zero_node), vtbl2, vtbl); } |