This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: PR objc/18971
On 24 Dec 2004, at 14.15, Andrew Pinski wrote:
On Dec 24, 2004, at 4:52 PM, Ziemowit Laski wrote:
This was noticed by Alex, and it turned out that ObjC method
parameters were not being properly decayed from arrays to pointers.
This patch hopefully fixes this, along with ObjC pretty-printing of
I see absolutely no regressions with this, but I'll wait until next
week before committing so that people may comment. Happy holidays to
I just want to check to make sure that it also fixes the following
@interface Test : Object
-(void) test2: (int )a;
-(void) test2: (int )a
typedef int a;
int main(int argc, char **argv)
t = [Test new];
[t test2: b];
Please do :-); we can even attach it as another test case if you like.