On Jul 13, 2009, at 1:58 PM, Chris Lattner wrote: > On Jul 13, 2009, at 1:47 PM, steve naroff wrote: >>> >>> NSString *X; >>> X+4; >>> >> >> I see...I guess I read your response too quickly (sorry for the >> confusion). >> >> clang allows this (for GCC compatibility). I'd have no problem >> rejecting code like this (since it is silly): > > We do reject it in 64-bit mode, but that's not my point. This code is > in the code generator: codegen should be handling objc and c pointers > the same here I think.
Yes. We have a test case interface.m which checks for codegen in 32bit mode. - fariborz > > > Thanks Steve, > > -Chris > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
