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: hookize function_arg_callee_copies


> I realize that we're now in stage 3, but this is preperatory to
> fixing a regression on PA.
> 
> Joern, please explain the rationale behind the current formation
> of sh_callee_copies.  It looks wrong to me.

This code has actually been written by Alexandre.
It is there for SHcompact support, and the callee copies for SHcompact are
performed by __GCC_shcompact_incoming_args.
However, AFAICS there is a bug here in that TARGET_CALLEE_COPIES will
also return true for some arguments that are passed by reference due to
must_pass_in_stack_var_size on non-SHcompact targets.


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