OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 22:02:09 +0000 (22:02 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 22:02:09 +0000 (22:02 +0000)
commitc4823a85cd9d14892213ad94b4fe24b924c85fb5
tree2b68cee452716cd6590c101e2bf623f31cc5738c
parent22608bb474dac78ac1e28753be777d4897b407bf
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_types_are_equivalent): Fixed comparing protocol
lists.  Check them two-ways to fix comparisons when one protocol
implements the other one, or when one list contains duplicated
protocols.

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/method-conflict-3.m: New.
* objc.dg/method-conflict-4.m: New.
* obj-c++.dg/method-conflict-3.m: New.
* obj-c++.dg/method-conflict-4.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168356 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/method-conflict-3.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/method-conflict-4.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/method-conflict-3.m [new file with mode: 0644]
gcc/testsuite/objc.dg/method-conflict-4.m [new file with mode: 0644]