c-typeck.c (build_c_cast): In ObjC...
authorZiemowit Laski <zlaski@apple.com>
Wed, 25 Aug 2004 20:38:53 +0000 (20:38 +0000)
committerZiemowit Laski <zlaski@gcc.gnu.org>
Wed, 25 Aug 2004 20:38:53 +0000 (20:38 +0000)
commit700686faf4b0dd347b1dc735569b9fdfaef925d6
tree5a71064f01f5b0959334497b3c0bb29d785e0b7d
parent7fb654efba6e0dfca691fe90376bef89d4d668e5
c-typeck.c (build_c_cast): In ObjC...

[gcc/ChangeLog]
2004-08-25  Ziemowit Laski  <zlaski@apple.com>

       * c-typeck.c (build_c_cast): In ObjC, always preserve (and silently
       accept) a cast from one Objective-C pointer type to another.

[gcc/testsuite/ChangeLog]
2004-08-25  Ziemowit Laski  <zlaski@apple.com>

       * objc.dg/proto-lossage-4.m: New test.

From-SVN: r86574
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/proto-lossage-4.m [new file with mode: 0644]