RFA: Make IRA set current_function_is_leaf earlier
Mon Jan 5 16:12:00 GMT 2009
Richard Sandiford wrote:
> On some targets, FRAME_POINTER_REQUIRED needs to know whether the
> function is a leaf function. This was OK with the old allocator,
> which set current_function_is_leaf before testing FRAME_POINTER_REQUIRED,
> but IRA does it the other way around. This caused a regression in
> "gcc.c-torture/execute/pr20621-1.c compilation, -O1" on
> mips64el-linux-gnu with -mabi=32/-mips16.
> Tested on mips64el-linux-gnu. OK to apply?
Yes, that is ok. Thanks, Richard.
> * ira.c (ira): Set current_function_is_leaf earlier.
More information about the Gcc-patches