projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1eb754
)
(check_methods_accessible): Fix bug in -Wno-protocol.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 29 Oct 1993 01:33:07 +0000
(21:33 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 29 Oct 1993 01:33:07 +0000
(21:33 -0400)
(check_methods_accessible): Fix bug in -Wno-protocol. Reset chain to
bottom class for each search.
From-SVN: r5927
gcc/objc/objc-act.c
patch
|
blob
|
history
diff --git
a/gcc/objc/objc-act.c
b/gcc/objc/objc-act.c
index 7db3d88db88355e61d1b97adc48800f354d64087..3431f19be17cccf748014df113ffdc92ccdfb9ed 100644
(file)
--- 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 == '+')