Re: RFA: Add a destructor to target_ira_int

2014-09-12 Thread Jeff Law
On 09/12/14 01:25, Richard Sandiford wrote: Jeff Law writes: On 09/08/14 09:26, Richard Sandiford wrote: This patch adds a destructor to target_ira_int, so that the data structures it points to are freed when the parent target_globals is freed. It fixes a memory leak with non-default subtarge

Re: RFA: Add a destructor to target_ira_int

2014-09-12 Thread Richard Sandiford
Jeff Law writes: > On 09/08/14 09:26, Richard Sandiford wrote: >> This patch adds a destructor to target_ira_int, so that the data structures >> it points to are freed when the parent target_globals is freed. It fixes >> a memory leak with non-default subtargets. >> >> Tested on x86_64-linux-gnu.

Re: RFA: Add a destructor to target_ira_int

2014-09-11 Thread Jeff Law
On 09/08/14 09:26, Richard Sandiford wrote: This patch adds a destructor to target_ira_int, so that the data structures it points to are freed when the parent target_globals is freed. It fixes a memory leak with non-default subtargets. Tested on x86_64-linux-gnu. OK to install? Thanks, Richar

RFA: Add a destructor to target_ira_int

2014-09-08 Thread Richard Sandiford
This patch adds a destructor to target_ira_int, so that the data structures it points to are freed when the parent target_globals is freed. It fixes a memory leak with non-default subtargets. Tested on x86_64-linux-gnu. OK to install? Thanks, Richard gcc/ * ira.h (ira_finish_once): De