Message ID | 4E90C21E.2050908@oracle.com |
---|---|
State | New |
Headers | show |
OK. Jason
Index: typeck2.c =================================================================== --- typeck2.c (revision 179660) +++ typeck2.c (working copy) @@ -340,7 +340,10 @@ abstract_virtuals_error_sfinae (tree decl, tree ty type); FOR_EACH_VEC_ELT (tree, pure, ix, fn) - inform (input_location, "\t%+#D", fn); + if (! DECL_CLONED_FUNCTION_P (fn) + || DECL_COMPLETE_DESTRUCTOR_P (fn)) + inform (input_location, "\t%+#D", fn); + /* Now truncate the vector. This leaves it non-null, so we know there are pure virtuals, but empty so we don't list them out again. */