[PATCH] VMS ABI stuff for IA64

Paolo Bonzini bonzini@gnu.org
Sun Aug 2 14:54:00 GMT 2009


>> You should do like this (with the new hook).
>>
>> #undef TARGET_PROMOTE_FUNCTION_MODE
>> #define TARGET_PROMOTE_FUNCTION_MODE ia64_promote_function_mode
>
> I don't think that will work.
> In targhooks.c target-def.h is included *after* tm.h

ia64_promote_function_mode would be defined in ia64.c, after everything 
you want. :-)

You just make it a no-op if not on VMS.

Paolo



More information about the Gcc-patches mailing list