This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] objective-c gimplify
- From: law at redhat dot com
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 14 Aug 2003 14:38:12 -0600
- Subject: Re: [tree-ssa] objective-c gimplify
- Reply-to: law at redhat dot com
In message <7579D32D-CE95-11D7-B919-000393A6D2F2@physics.uc.edu>, Andrew Pinski
writes:
>Ping?
>
>
>On Sunday, Jun 15, 2003, at 16:49 US/Eastern, Andrew Pinski wrote:
>
>> 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.
If it bootstraps and passes the Objective-C testsuite, then it's OK.
jeff