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] Fix insn allocation size in ggc-page.c


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



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