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 "
|
warning ("possible problem detected in invocation of "
|
||||||
"delete operator:");
|
"delete operator:");
|
||||||
cxx_incomplete_type_diagnostic (addr, type, 1);
|
cxx_incomplete_type_diagnostic (addr, type, 1);
|
||||||
inform ("neither the destructor nor the class-specific "
|
inform ("neither the destructor nor the class-specific "
|
||||||
"operator delete will be called, even if they are "
|
"operator delete will be called, even if they are "
|
||||||
"declared when the class is defined.");
|
"declared when the class is defined.");
|
||||||
complete_p = false;
|
complete_p = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11243,7 +11243,8 @@ instantiate_pending_templates (void)
|
||||||
fn;
|
fn;
|
||||||
fn = TREE_CHAIN (fn))
|
fn = TREE_CHAIN (fn))
|
||||||
if (! DECL_ARTIFICIAL (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))
|
if (COMPLETE_TYPE_P (instantiation))
|
||||||
{
|
{
|
||||||
instantiated_something = 1;
|
instantiated_something = 1;
|
||||||
|
|
Loading…
Reference in New Issue