Re: [PATCH] Fix producer string memory leaks

2021-02-18 Thread Martin Sebor via Gcc-patches
On 2/18/21 2:22 AM, Richard Biener wrote: On Tue, Feb 16, 2021 at 5:09 PM Martin Sebor wrote: On 2/15/21 7:39 AM, Richard Biener wrote: On Mon, Feb 15, 2021 at 2:46 PM Martin Liška wrote: On 2/12/21 5:56 PM, Martin Sebor wrote: On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote:

Re: [PATCH] Fix producer string memory leaks

2021-02-18 Thread Richard Biener via Gcc-patches
On Tue, Feb 16, 2021 at 5:09 PM Martin Sebor wrote: > > On 2/15/21 7:39 AM, Richard Biener wrote: > > On Mon, Feb 15, 2021 at 2:46 PM Martin Liška wrote: > >> > >> On 2/12/21 5:56 PM, Martin Sebor wrote: > >>> On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: > On Thu, Feb 11, 2021

Re: [PATCH] Fix producer string memory leaks

2021-02-16 Thread Tom Tromey
> "Martin" == Martin Sebor via Gcc-patches writes: Martin> FWIW, I have prototyped Martin> a simple string class over the weekend (based on auto_vec) that I'm Martin> willing to contribute if std::string turns out to be out of favor. I wonder whether GDB and GCC can or should collaborate in

Re: [PATCH] Fix producer string memory leaks

2021-02-16 Thread Martin Sebor via Gcc-patches
On 2/15/21 7:39 AM, Richard Biener wrote: On Mon, Feb 15, 2021 at 2:46 PM Martin Liška wrote: On 2/12/21 5:56 PM, Martin Sebor wrote: On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed.

Re: [PATCH] Fix producer string memory leaks

2021-02-15 Thread Richard Biener via Gcc-patches
On Mon, Feb 15, 2021 at 2:46 PM Martin Liška wrote: > > On 2/12/21 5:56 PM, Martin Sebor wrote: > > On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: > >> On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: > >>> > >>> Hello. > >>> > >>> This fixes 2 memory leaks I noticed. > >>> > >>>

Re: [PATCH] Fix producer string memory leaks

2021-02-15 Thread Martin Liška
On 2/12/21 5:56 PM, Martin Sebor wrote: On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed?

Re: [PATCH] Fix producer string memory leaks

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 9:56 AM, Martin Sebor wrote: On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed?

Re: [PATCH] Fix producer string memory leaks

2021-02-12 Thread Martin Sebor via Gcc-patches
On 2/12/21 2:09 AM, Richard Biener via Gcc-patches wrote: On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? OK. Thanks, Martin gcc/ChangeLog:

Re: [PATCH] Fix producer string memory leaks

2021-02-12 Thread Richard Biener via Gcc-patches
On Thu, Feb 11, 2021 at 6:41 PM Martin Liška wrote: > > Hello. > > This fixes 2 memory leaks I noticed. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK. > Thanks, > Martin > > gcc/ChangeLog: > > * opts-common.c

[PATCH] Fix producer string memory leaks

2021-02-11 Thread Martin Liška
Hello. This fixes 2 memory leaks I noticed. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: * opts-common.c (decode_cmdline_option): Release werror_arg. * opts.c (gen_producer_string): Release output