RFA: Make IRA set current_function_is_leaf earlier

Andrew Pinski pinskia@gmail.com
Tue Jan 6 00:50:00 GMT 2009

On Sun, Jan 4, 2009 at 4:39 PM, Richard Sandiford
<rdsandiford@googlemail.com> 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.

This also fixes PR 38426.

Andrew Pinski

More information about the Gcc-patches mailing list