PATCH: sparc_gimplify_va_arg

Jason Merrill jason@redhat.com
Fri Jun 11 16:32:00 GMT 2004


On Fri, 11 Jun 2004 08:55:46 +0200, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:

>> 2004-06-11  Jason Merrill  <jason@redhat.com>
>>
>> 	* config/sparc/sparc.c (sparc_gimplify_va_arg): New fn.
>> 	(TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
>
> Thanks for doing this.  However, I see you duplicated sparc_va_arg pretty 
> much entirely.  Would it not be better to factor out the common structure 
> between both functions?  Or is sparc_va_arg already doomed to death?

The latter.  Once all targets have the gimplifier hook, the expanders will
go away.

Hmm, actually, maybe they can go away individually as targets are
converted...

Jason



More information about the Gcc-patches mailing list