On 06/02/2014 03:01 PM, Ville Voutilainen wrote:
+ if (current_nonlambda_class_type ()) protected_ok = protected_accessible_p (decl, - current_class_type, binfo); + current_nonlambda_class_type (),
Let's store the value of current_nonlambda_class_type() in a local variable rather than call it twice.
+ && DERIVED_FROM_P (scope, current_nonlambda_class_type ())) + qualifying_type = current_nonlambda_class_type ();
Here too. OK with that change. Jason