This is the mail archive of the gcc@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]

question about GTY macro


Given this in tree.h:

  struct int_n_trees_t {
    tree signed_type;
    tree unsigned_type;
  };

  extern struct int_n_trees_t int_n_trees[NUM_INT_N_ENTS];

And this in tree.c:

  struct int_n_trees_t int_n_trees [NUM_INT_N_ENTS];

What is the right way to mark these for garbage collection?

I can't seem to get int_n_trees[] to show up in any of the gc-related
generated files.

I need the int_n_trees[] trees to be locked into memory, but I see
signs that they're being reclaimed instead.


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