parent
aa7cb8c39e
commit
061cae1fa9
|
@ -2742,8 +2742,8 @@ build_delete (tree type, tree addr, special_function_kind auto_delete,
|
|||
warning ("possible problem detected in invocation of "
|
||||
"delete operator:");
|
||||
cxx_incomplete_type_diagnostic (addr, type, 1);
|
||||
inform ("neither the destructor nor the class-specific "
|
||||
"operator delete will be called, even if they are "
|
||||
inform ("neither the destructor nor the class-specific "
|
||||
"operator delete will be called, even if they are "
|
||||
"declared when the class is defined.");
|
||||
complete_p = false;
|
||||
}
|
||||
|
|
|
@ -11243,7 +11243,8 @@ instantiate_pending_templates (void)
|
|||
fn;
|
||||
fn = TREE_CHAIN (fn))
|
||||
if (! DECL_ARTIFICIAL (fn))
|
||||
instantiate_decl (fn, /*defer_ok=*/0, /*undefined_ok=*/0);
|
||||
instantiate_decl (fn, /*defer_ok=*/0,
|
||||
/*undefined_ok=*/0);
|
||||
if (COMPLETE_TYPE_P (instantiation))
|
||||
{
|
||||
instantiated_something = 1;
|
||||
|
|
Loading…
Reference in New Issue