This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GC backport, part 3
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: GC backport, part 3
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Mon, 9 Aug 1999 15:08:31 +0100 (BST)
- cc: gcc-patches at gcc dot gnu dot org
> On Mon, Aug 02, 1999 at 05:29:56PM +0100, Bernd Schmidt wrote:
> > - Can we rename "current_function" to something shorter, like maybe
> > "cur_func"? This is likely to avoid all sorts of formatting problems once
> > I start getting rid of the accessor macros.
>
> `cfun' perhaps?
I'll use this.
> The patch is ok.
I've checked it in with one additional bugfix included: the new part is the
function init_function_for_compilation which is called from
rest_of_compilation. Without this, the compiler would use stale values of
prologue and epilogue that caused crashes later on. This was an effect of
removing the call to init_function_start from output_inline_function;
init_function_start used to clear prologue and epilogue. For some reason
this problem only showed up when I re-tested before installing the patch; it
didn't cause failures with last week's sources.
Bernd