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/RFC] PR target/15130 SH: A tail call optimization problem


> The appended patch is to take account of this case.  It always
> scans registers to get an available register in epilogue case.

It seems to me that this unnecessarily slows down compilation at -O0.
Could you try to use (epilogue_p && flag_optimize_sibling_calls)
instead?  This also has the advantage of being more self-documenting.


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