Re: Fix gcse leak

2014-05-11 Thread Richard Biener
On May 11, 2014 3:54:30 PM CEST, Steven Bosscher wrote: >Hello, > >This patch plugs a GGC leak in gcse.c, which will hold on to test insn >to save memory. But this results in holding on to entire RTL function >bodies, the function's CFG, and a lot more. > >Fix is simple: Clear the part of test_ins

Fix gcse leak

2014-05-11 Thread Steven Bosscher
Hello, This patch plugs a GGC leak in gcse.c, which will hold on to test insn to save memory. But this results in holding on to entire RTL function bodies, the function's CFG, and a lot more. Fix is simple: Clear the part of test_insn that causes this. Bootstrapped&tested on powerpc64-unknown-li