OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Nov 2010 18:58:43 +0000 (18:58 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Nov 2010 18:58:43 +0000 (18:58 +0000)
commitad312852d3e53a608dcedac520a4aa9adca20792
tree9caffb5656c139686769f77c990dd121c19d4c86
parent8a9d0572be18bd1ee8faec64a1628f5bb33096a5
In gcc/objc/:
2010-11-11  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (objc_add_property_declaration): Check that the type
        of a property and of an inherited property match.
        (objc_maybe_build_component_ref): Tidied up indentation and
        comments.
        (objc_common_type): Added new type of check (-5).  If an unknown
        class is involved in a comparison, try to look up its interface.
        (objc_add_synthesize_declaration_for_property): Check that the
        property to synthesize and the instance variable to use have the
        same type.

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

        * objc.dg/property/at-property-20.m: New.
        * objc.dg/property/synthesize-8.m: New.
        * obj-c++.dg/property/at-property-20.m: New.
        * obj-c++.dg/property/synthesize-8.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166612 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/property/at-property-20.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/synthesize-8.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/property/at-property-20.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/synthesize-8.m [new file with mode: 0644]