This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix insn allocation size in ggc-page.c
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Dan Nicolaescu <dann at ics dot uci dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Tue, 15 Jul 2003 01:26:52 -0700
- Subject: Re: [patch] Fix insn allocation size in ggc-page.c
- References: <200307082126.h68LQx4X019597@gremlin.ics.uci.edu>
Dan Nicolaescu wrote:
! RTL_SIZE (9), /* INSN, CALL_INSN, JUMP_INSN */
INSN has 9, but CALL_INSN and JUMP_INSN have 10. With this change,
calls and jumps no longer fit into this bucket. That makes the comment
wrong. It may also waste memory. Since basic blocks tend to be short
on average, the extra 20 bytes allocated for calls and jumps might be
more than we save for insns. The original intent of the code is to
include jumps and calls. See
http://gcc.gnu.org/ml/gcc/2002-08/msg00884.html
--
Jim Wilson, GNU Tools Support, http://www.specifix.com