From d74db8ff1c8f126c3d45ab9e72458ead0422865b Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 26 Mar 2014 12:50:26 -0400 Subject: re PR c++/60566 (r208573 omits needed thunks) PR c++/60566 PR c++/58678 * class.c (build_vtbl_initializer): Handle abstract dtors here. * search.c (get_pure_virtuals): Not here. From-SVN: r208845 --- gcc/ipa-devirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ipa-devirt.c') diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index 2f84f17..6fb1449 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -1261,7 +1261,7 @@ get_polymorphic_call_info (tree fndecl, } /* If the function is constructor or destructor, then - the type is possibly in consturction, but we know + the type is possibly in construction, but we know it is not derived type. */ if (DECL_CXX_CONSTRUCTOR_P (fndecl) || DECL_CXX_DESTRUCTOR_P (fndecl)) -- cgit v1.1