In gcc/objc/: 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
authorNicola Pero <nicola.pero@meta-innovation.com>
Thu, 2 Jun 2011 18:54:32 +0000 (18:54 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Thu, 2 Jun 2011 18:54:32 +0000 (18:54 +0000)
commitbf79cedb1170f7c57a5d945c916dfcfc109bd22e
treec5eb3b5146458a81edad3cd5ef6d4467cb3fd01c
parentae9982ec2c4dcec5d443120104a932f4e072f19a
In gcc/objc/: 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>

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

PR objc/48539
* objc-act.c (objc_finish_message_expr): Warn if messaging a class
that was only declared using @class without an @interface.  Warn
if messaging an instance of a class that was only declared using
@class without an @interface, unless the receiver was also typed
with a protocol list.

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

PR objc/48539
* objc.dg/method-5.m: Updated.
* objc.dg/method-19.m: Updated.
* objc.dg/method-lookup-1.m: New.
* obj-c++.dg/method-6.mm: Updated.
* obj-c++.dg/method-7.mm: Updated.
* obj-c++.dg/method-lookup-1.mm: New.

From-SVN: r174575
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/method-6.mm
gcc/testsuite/obj-c++.dg/method-7.mm
gcc/testsuite/obj-c++.dg/method-lookup-1.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/method-19.m
gcc/testsuite/objc.dg/method-5.m
gcc/testsuite/objc.dg/method-lookup-1.m [new file with mode: 0644]