This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/22474] New: Objc produces mis-match (non compatible) types in EQ_EXPR
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2005 01:00:39 -0000
- Subject: [Bug objc/22474] New: Objc produces mis-match (non compatible) types in EQ_EXPR
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Take the following code:
typedef struct objc_class *Class;
@interface a
{
Class isa;
}
@end
@implementation a
- (int)isEqual:anObject
{
return self==anObject;
}
@end
We get an type mismatch in the EQ_EXPR which is wrong.
I will attach the patch to find this in PR 22368
--
Summary: Objc produces mis-match (non compatible) types in
EQ_EXPR
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 22368
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22474