This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [objc] Patch for PR18408 (Was: Re: Objective-C bugs and GCC releases)

On 24 Jan 2005, at 18.56, Alexander Malmberg wrote:

Ziemowit Laski wrote:
On 24 Jan 2005, at 17.41, Alexander Malmberg wrote:
2005-01-25  Alexander Malmberg  <>

* objc-act.c (objc_types_compatible_p): New function.
Also #include "langhooks-def.h"; please also update

objc/ already has:

objc/objc-act.o : objc/objc-act.c \
   $(LANGHOOKS_DEF_H) $(HASHTAB_H) c-pragma.h gt-objc-objc-act.h

so if I understand this correctly, I don't need to add anything here.

Ok. :-)

+    {
+      return c_types_compatible_p (type1, type2);
If you could put in #ifdef OBJCPLUS for cxx_types_compatible_p() (or whatever it's called), that would be great.

cxx_types_compatible_p is right. Done, although I haven't tested the obj-c++ part.

That's fine; at this point, you really can't. :-)

Also, please include the comp-types-7.m test case.

I'm assuming you mean Pinski's test case from the PR.

Yes. In fact, you probably should put the magic 'PR objc/18408' string in the ChangeLog entries so that Bugzilla picks it up.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]