global trees

Nathan Sidwell nathan@acm.org
Tue Nov 17 18:12:16 GMT 2020


This reorders the common and c++ global	tree arrays.  It introduces a
module-specific High Water Mark, below which are the immutable slots
initialized at startup and beyond which	are the	lazily filled slots
(and a few immutables we need to locate by name lookup anyway).

         gcc/c-family/
         * c-common.h (enum c_tree_index): Reorder to place lazy fields
         after newly-added CTI_MODULE_HWM.
         gcc/cp/
         * cp-tree.h (enum cp_tree_index): Reorder to place lazy fields
         after newly-added CPTI_MODULE_HWM.

Pushing to trunk
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 19-global-trees.diff
Type: text/x-patch
Size: 2068 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201117/a90ad795/attachment.bin>


More information about the Gcc-patches mailing list