Re: RFA: Add a target_globals destructor

2014-09-09 Thread Richard Biener
On Mon, Sep 8, 2014 at 5:21 PM, Richard Sandiford wrote: > This is a prerequisite for a cleaned-up version of the patch in: > https://gcc.gnu.org/ml/gcc/2014-03/msg00163.html . Thanks to Trevor's > recent(ish) changes, it's now possible for GC structures to have > destructors. This means that we

RFA: Add a target_globals destructor

2014-09-08 Thread Richard Sandiford
This is a prerequisite for a cleaned-up version of the patch in: https://gcc.gnu.org/ml/gcc/2014-03/msg00163.html . Thanks to Trevor's recent(ish) changes, it's now possible for GC structures to have destructors. This means that we can go back to xmalloc()ing the parts of target_globals that don'