This is the mail archive of the
mailing list for the GCC project.
Re: [patch] arc: Hookize some target macros.
> > * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
> > (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
> > :
> > :
> > + return (AGGREGATE_TYPE_P (type)
> > + || int_size_in_bytes (type) > 8
> > + || TREE_ADDRESSABLE (type));
> When you're done, can you go back and fix all the places that don't
> check int_size_in_bytes < 0 (== -1)? This happens for variable-sized
Yes, I will. Many implementations of TARGET_RETURN_IN_MEMORY, maybe
all but MIPS, ignore that case.