Re: [PATCH] if-to-switch: fix a memory leak

2021-02-09 Thread Richard Biener via Gcc-patches
On Tue, Feb 9, 2021 at 6:16 PM Martin Liška wrote: > > The following fixes a memory leak. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK. Richard. > Thanks, > Martin > > gcc/ChangeLog: > > PR tree-optimization/99002 > * g

[PATCH] if-to-switch: fix a memory leak

2021-02-09 Thread Martin Liška
The following fixes a memory leak. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: PR tree-optimization/99002 * gimple-if-to-switch.cc (find_conditions): Fix memory leak in the function. --- gc