This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[checked-in ChangeLog fixes] (was: Re: [PATCH] Objective-C : Donot accept an object as parameter to a method)
- From: cgd at broadcom dot com
- To: dpatel at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 02 Jul 2002 16:12:00 -0700
- Subject: [checked-in ChangeLog fixes] (was: Re: [PATCH] Objective-C : Donot accept an object as parameter to a method)
- References: <89738DFE-8960-11D6-ACF9-00039310EDEA@><mailpost.1025135919.13434@news-sj1-1>
At Wed, 26 Jun 2002 23:58:39 +0000 (UTC), "Devang Patel" wrote:
> With this simple patch compiler checks whether (and raise error if
> required) an object
> is used as parameter to a method or not. Because it is not a good idea
> in Objective-C.
>
> 2002-06-26 Devang Patel <dpatel@apple.com>
>
> * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
> object
> as parameter.
> testsuite:
> * objc.dg/param-1.m: New test.
looks like you just checked this in, and the change logs were
ill-formatted.
I just fixed them ("obvious" 8-) with the patch below.
cgd
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.14768
diff -u -r1.14768 ChangeLog
--- ChangeLog 2 Jul 2002 23:05:54 -0000 1.14768
+++ ChangeLog 2 Jul 2002 23:10:23 -0000
@@ -1,5 +1,5 @@
+2002-07-02 Devang Patel <dpatel@apple.com>
-2002-07-02 Devang Patel <dpatel@apple.com
* objc/objc-act.c (adjust_type_for_id_default): Do not allow an
object as parameter. Prevent something like 'NSObject' to be
used as the type for a method argument.
Index: testsuite/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/ChangeLog,v
retrieving revision 1.1961
diff -u -r1.1961 ChangeLog
--- testsuite/ChangeLog 2 Jul 2002 23:06:03 -0000 1.1961
+++ testsuite/ChangeLog 2 Jul 2002 23:10:23 -0000
@@ -1,4 +1,5 @@
2002-07-02 Devang Patel <dpatel@apple.com>
+
* objc.dg/param-1.m: New test.
2002-07-03 Neil Booth <neil@daikokuya.co.uk>