From: Richard Kenner Date: Fri, 29 Oct 1993 01:33:07 +0000 (-0400) Subject: (check_methods_accessible): Fix bug in -Wno-protocol. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=415f766a6507d0898d7c169c2d29a6b06fbf7991;p=gcc.git (check_methods_accessible): Fix bug in -Wno-protocol. (check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to bottom class for each search. From-SVN: r5927 --- diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 7db3d88db88..3431f19be17 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -5363,9 +5363,11 @@ check_methods_accessible (chain, context, mtype) { int first = 1; tree list; + tree base_context = context; while (chain) { + context = base_context; while (context) { if (mtype == '+')