This is the mail archive of the gcc@gcc.gnu.org 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]

[tree-ssa] objective-c gimplify


It looks like Objective-C's parser really just generates C trees so it could just use the c gimplifier.

Can someone try this patch, I tried it and it worked but there are problems with extra warnings:
`type-punning to incomplete type might break strict-aliasing rules' which is really caused by the parser
actually generating tree with casts in it but this warning also happens on the mainline also.



ChangeLog: 2003-06-15 Andrew Pinski <pinskia@physics.uc.edu>

	* objc/objc-lang.c (LANG_HOOKS_GIMPLIFY_EXPR): Define
	as the c gimplifier.


Patch:

Attachment: temp.diff
Description: Binary data



Thanks,
Andrew Pinski

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