diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 93b5caf1a6688de4f26a7fc99a1abd141f39b16a..30d3b5d257a09d406f94050ddc221af72996cbbc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-03-10 Mark Mitchell <mark@markmitchell.com> + + * sig.c (build_signature_table_constructor): Use accessible_p + instead of compute_access. + 1999-03-09 Jason Merrill <jason@yorick.cygnus.com> * call.c (add_builtin_candidates): Handle overloaded conversion ops. diff --git a/gcc/cp/sig.c b/gcc/cp/sig.c index f264d310fe911c21f1b81544766d0bef5d9242eb..f1ef69fc8f9f472f9b17da764046194e3bd6cd06 100644 --- a/gcc/cp/sig.c +++ b/gcc/cp/sig.c @@ -548,8 +548,7 @@ build_signature_table_constructor (sig_ty, rhs) break; if (rhs_methods == NULL_TREE - || (compute_access (basetypes, rhs_method) - != access_public_node)) + || !accessible_p (basetypes, rhs_method)) { error ("class `%s' does not contain a method conforming to `%s'", TYPE_NAME_STRING (rhstype),