objc-act.c (objc_build_struct): Pass in an actual @interface instead of its name...
authorZiemowit Laski <zlaski@apple.com>
Fri, 8 Jul 2005 01:53:37 +0000 (01:53 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Fri, 8 Jul 2005 01:53:37 +0000 (01:53 +0000)
commita0e71127bb2ab3450437010387edd33404590de8
tree42e7259e06a7cac78cdf1510f45d3e6ca75fa394
parent478cc28d237453d3d30fe1ee99cdaef2f9e15a88
objc-act.c (objc_build_struct): Pass in an actual @interface instead of its name...

[gcc/objc/ChangeLog]
2005-07-07  Ziemowit Laski  <zlaski@apple.com>

        * objc-act.c (objc_build_struct): Pass in an actual @interface
        instead of its name, and annotate the struct created (and all
        existing variants thereof) with the @interface.
        (objc_compare_types): Treat forward-declared ObjC classes
        as stand-alone (root) classes for purposes of type comparisons.
        (build_private_template): Move some code to objc_build_struct().

[gcc/testsuite/ChangeLog]
2005-07-07  Ziemowit Laski  <zlaski@apple.com>

        * obj-c++.dg/proto-lossage-6.mm: New.
        * objc.dg/proto-lossage-6.m: New.

From-SVN: r101750
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/proto-lossage-6.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/proto-lossage-6.m [new file with mode: 0644]