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: [tree-ssa] Put CFG into GGC memory



*************** struct bb_ann_d
*** 313,319 ****
    int num_preds;

    /* Set of blocks immediately dominated by this node.  */
!   bitmap dom_children;

/* Nonzero if this block is forwardable during cfg cleanups. This is also
used to detect loops during cfg cleanups. */
--- 313,319 ----
int num_preds;


    /* Set of blocks immediately dominated by this node.  */
!   bitmap GTY ((skip (""))) dom_children;

/* Nonzero if this block is forwardable during cfg cleanups. This is also
used to detect loops during cfg cleanups. */

Why not just make dom_children GGC allocated as well? Same for all the regset
bitmaps in the basic_block_def struct.

This one hit me at first too, then I realized they aren't BITMAP_GGC_ALLOC'd, they are BITMAP_XMALLOC'd



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