From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 565E13857C52; Thu, 24 Sep 2020 08:07:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 565E13857C52 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/96534] keep gcov intermediate format Date: Thu, 24 Sep 2020 08:07:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2020 08:07:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96534 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to xlwu from comment #5) > A bug found in the JSON format: >=20 > in the lines.count and functions.execute_count fields, when the number is > extremely large , it will be shown as something like: 8.12123199e+08 , e= ven > become a minus number , like -8.1332322e+08 . this is not a legal JSON > format , when I try to unmarshel in golang , it just crash, I believe oth= er > language will crash too That should be fixed in r10-4051-g076222782e4558e0bd22711c6fdcc0faf0882daf = and part of GCC 10.x release. Can you please verify that? >=20 > another question is: in our environment , the gcda and gcno files are not > under same dir How that happens? > , to run the gcov , I had to copy them into a temp dir , is > it possible to provide options to give the gcda and gcno path in command > line? Right now, it's not possible. Can you please experiment with -o option?=