In libobjc/: 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Mon, 28 Feb 2011 14:48:23 +0000 (14:48 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Mon, 28 Feb 2011 14:48:23 +0000 (14:48 +0000)
commit68ade9e4e84617fd5c613618cfdc0cc1fa6d6d81
tree2206ef603597ed2c4ee93c47cebe6a18a1f3fcb0
parent2f2935b6d5c7d9976710d40b79036bec4c7087aa
In libobjc/: 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>

In libobjc/:
2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>

* selector.c (sel_getTypedSelector): Return NULL if there are
multiple selectors with conflicting types.
* objc/runtime.h (sel_getTypedSelector): Updated documentation.

In gcc/testsuite/:
2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-sel.m: Test that sel_getTypedSelector return
NULL in case of a selector with conflicting types.
* obj-c++.dg/gnu-api-2-sel.mm: Same change.

From-SVN: r170563
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/gnu-api-2-sel.mm
gcc/testsuite/objc.dg/gnu-api-2-sel.m
libobjc/ChangeLog
libobjc/objc/runtime.h
libobjc/selector.c