Re: Fix two more memory leaks in threader

2015-08-11 Thread Uros Bizjak
Hello! +2015-08-03 Jeff Law l...@redhat.com + + PR middle-end/66314 + PR gcov-profile/66899 + * tree-ssa-threadupdate.c (mark_threaded_blocks): Correctly + iterate over the jump threading paths when an element in the + jump threading paths array is eliminated. + 2015-08-03 Segher Boessenkool

Re: Fix two more memory leaks in threader

2015-08-11 Thread Jeff Law
On 08/11/2015 12:16 AM, Uros Bizjak wrote: Hello! +2015-08-03 Jeff Law l...@redhat.com + + PR middle-end/66314 + PR gcov-profile/66899 + * tree-ssa-threadupdate.c (mark_threaded_blocks): Correctly + iterate over the jump threading paths when an element in the + jump threading paths array is

Re: Fix two more memory leaks in threader

2015-08-03 Thread Jeff Law
On 07/20/2015 08:19 AM, James Greenhalgh wrote: I think we either want to defer the unordered_remove until we're done processing all the vector elements, or make sure to look at element 'i' again after we've moved something new in to it. Correct. Two loops had this mistake -- while others got

Re: Fix two more memory leaks in threader

2015-07-24 Thread Jeff Law
On 07/20/2015 08:19 AM, James Greenhalgh wrote: On Wed, May 20, 2015 at 05:36:25PM +0100, Jeff Law wrote: These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So thankfully this wasn't a

Re: Fix two more memory leaks in threader

2015-07-20 Thread James Greenhalgh
On Wed, May 20, 2015 at 05:36:25PM +0100, Jeff Law wrote: These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So thankfully this wasn't a big leak. Hi Jeff, I don't have a reduced

Re: Fix two more memory leaks in threader

2015-07-20 Thread Marek Polacek
On Mon, Jul 20, 2015 at 03:19:06PM +0100, James Greenhalgh wrote: On Wed, May 20, 2015 at 05:36:25PM +0100, Jeff Law wrote: These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So

Re: Fix two more memory leaks in threader

2015-05-22 Thread Jeff Law
On 05/20/2015 10:41 AM, Jakub Jelinek wrote: On Wed, May 20, 2015 at 10:36:25AM -0600, Jeff Law wrote: These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So thankfully this wasn't a big

Fix two more memory leaks in threader

2015-05-20 Thread Jeff Law
These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So thankfully this wasn't a big leak. Bootstrapped and regression tested on x86_64-unknown-linux-gnu. Installed on the trunk. Jeff

Re: Fix two more memory leaks in threader

2015-05-20 Thread Jakub Jelinek
On Wed, May 20, 2015 at 10:36:25AM -0600, Jeff Law wrote: These fix the remaining leaks in the threader that I'm aware of. We failed to properly clean-up when we had to cancel certain jump threading opportunities. So thankfully this wasn't a big leak. Bootstrapped and regression tested