This is the mail archive of the
mailing list for the GCC project.
genattrab memory usage
- To: jh at suze dot de
- Subject: genattrab memory usage
- From: Laurynas Biveinis <lauras at softhome dot net>
- Date: Mon, 20 Nov 2000 18:00:11 +0100
- CC: gcc at gcc dot gnu dot org
this patch of yours
> Mon Aug 28 01:16:16 CEST 2000 Jan Hubicka <email@example.com>
> * genrecog.c (write_tree): Output code to clear insn_extract cache.
> * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
> instead of extract_insn and extract_constrain_insn_cache instead of
> extract_insn and constrain_operands.
> * recog.c (extract_insn_cached, extract_constrain_insn_cached):
> New functions.
> (extract_insn): Clear which_alternative.
> (constrain_operands): Set which_alternative to -1 when failed.
> * recog.h (extract_constrain_insn_cached, extract_insn_cached):
makes native bootstrap impossible under DJGPP - genattrtab consumes roughly about
85M memory with i386.md, while we can use only 65M for bootstraping. Maybe you
could suggest how to fix it, e.g. freeing the cache once memory allocation starts
failing? I'm not very familiar with this part of compiler, so any advices would be