OSDN Git Service

(check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 1993 01:33:07 +0000 (01:33 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Oct 1993 01:33:07 +0000 (01:33 +0000)
bottom class for each search.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5927 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/objc-act.c

index 7db3d88..3431f19 100644 (file)
@@ -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 == '+')