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] arc: Hookize some target macros.


Hi Richard,

> > 	* config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
> > 	(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
> > 	:
> > 	:
> 
> Ok.

Thanks,

> > +  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
> types.

Yes, I will.  Many implementations of TARGET_RETURN_IN_MEMORY, maybe
all but MIPS, ignore that case.

Kazu Hirata


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