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

Re: [PATCH] VMS ABI stuff for IA64


Paolo Bonzini wrote:


gcc/target-def.h will also have to be changed since it will override the definitions if they are moved to vms.h. OK?

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

target-def.h needes an #ifndef around these guys. It has an #ifndef for VALID_POINTER_MODE but not for the PROMOTE_FUNCTION macros.


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