Re: [EXTERNAL] [PATCH] gcov: Use system IO buffering

2021-06-22 Thread Martin Liška
=8819c82ce814a6911e2c1bfebd60b1c2366a3805 Martin Eugene -Original Message- From: Martin Liška Sent: Thursday, June 17, 2021 2:38 AM To: Eugene Rozenfeld ; gcc-patches@gcc.gnu.org Subject: Re: [EXTERNAL] [PATCH] gcov: Use system IO buffering On 6/17/21 3:59 AM, Eugene Rozenfeld wrote

RE: [EXTERNAL] [PATCH] gcov: Use system IO buffering

2021-06-17 Thread Eugene Rozenfeld via Gcc-patches
@gcc.gnu.org Subject: Re: [EXTERNAL] [PATCH] gcov: Use system IO buffering On 6/17/21 3:59 AM, Eugene Rozenfeld wrote: > |The commit from this patch > (https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fgit%2F%3Fp%3Dgcc.git%3Ba%3Dcomm

Re: [EXTERNAL] [PATCH] gcov: Use system IO buffering

2021-06-17 Thread Martin Liška
On 6/17/21 3:59 AM, Eugene Rozenfeld wrote: |The commit from this patch (https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=23eb66d1d46a34cb28c4acbdf8a1deb80a7c5a05) changed the semantics of gcov_read_string and gcov_write_string. Before this change the string storage was as described in

RE: [EXTERNAL] [PATCH] gcov: Use system IO buffering

2021-06-16 Thread Eugene Rozenfeld via Gcc-patches
DO because create_gcov produces strings in the format specified in gcov-io.h. Thanks, Eugene -Original Message- From: Gcc-patches On Behalf Of Martin Liška Sent: Wednesday, April 21, 2021 12:52 AM To: gcc-patches@gcc.gnu.org Subject: [EXTERNAL] [PATCH] gcov: Use system IO buffering

Re: [PATCH] gcov: Use system IO buffering

2021-04-23 Thread Martin Liška
On 4/23/21 11:44 AM, Richard Biener wrote: On Fri, Apr 23, 2021 at 11:24 AM Martin Liška wrote: On 4/23/21 8:49 AM, Richard Biener wrote: On Thu, Apr 22, 2021 at 9:47 PM Andi Kleen via Gcc-patches wrote: Martin Liška writes: Hey. I/O buffering in gcov seems duplicite to what modern C

Re: [PATCH] gcov: Use system IO buffering

2021-04-23 Thread Richard Biener via Gcc-patches
On Fri, Apr 23, 2021 at 11:24 AM Martin Liška wrote: > > On 4/23/21 8:49 AM, Richard Biener wrote: > > On Thu, Apr 22, 2021 at 9:47 PM Andi Kleen via Gcc-patches > > wrote: > >> > >> Martin Liška writes: > >> > >>> Hey. > >>> > >>> I/O buffering in gcov seems duplicite to what modern C library

Re: [PATCH] gcov: Use system IO buffering

2021-04-23 Thread Martin Liška
On 4/23/21 8:49 AM, Richard Biener wrote: > On Thu, Apr 22, 2021 at 9:47 PM Andi Kleen via Gcc-patches > wrote: >> >> Martin Liška writes: >> >>> Hey. >>> >>> I/O buffering in gcov seems duplicite to what modern C library can provide. >>> The patch is a simplification and can provide easier

Re: [PATCH] gcov: Use system IO buffering

2021-04-23 Thread Richard Biener via Gcc-patches
On Thu, Apr 22, 2021 at 9:47 PM Andi Kleen via Gcc-patches wrote: > > Martin Liška writes: > > > Hey. > > > > I/O buffering in gcov seems duplicite to what modern C library can provide. > > The patch is a simplification and can provide easier interface for system > > that don't have a filesystem

Re: [PATCH] gcov: Use system IO buffering

2021-04-22 Thread Andi Kleen via Gcc-patches
Martin Liška writes: > Hey. > > I/O buffering in gcov seems duplicite to what modern C library can provide. > The patch is a simplification and can provide easier interface for system > that don't have a filesystem and would like using GCOV. > > I'm going to install the patch after 11.1 if there

[PATCH] gcov: Use system IO buffering

2021-04-21 Thread Martin Liška
Hey. I/O buffering in gcov seems duplicite to what modern C library can provide. The patch is a simplification and can provide easier interface for system that don't have a filesystem and would like using GCOV. I'm going to install the patch after 11.1 if there are no objections. Patch can