From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9872394441C; Tue, 17 Mar 2020 16:43:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9872394441C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584463412; bh=6hyVHd+drRfTWwjb7GxuDJvfHi6EQ+hjSO5ab+045L0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cVREoOajXJekH0uaMzbPiaSa86L74nkFXpGy0dpNC8piNwihNAdq4mZ9N7uAKYrZ6 LugLh6NxswIZ710qlLF7K16oYjyVUN22qQSjq4AbGQusQvRqbOG8ke3KXVCQg8aXON bSbz5SdWlxFVT8334mpzJrzYKLh1LI476HKB3Lqs= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/94029] [9/10 Regression] gcc crash in coverage.c:655 since r9-4216-g390e529e2b98983d Date: Tue, 17 Mar 2020 16:43: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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 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: Tue, 17 Mar 2020 16:43:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94029 --- Comment #9 from Martin Li=C5=A1ka --- Note that C++ FE is correct: $ g++ pr94029.c --coverage -c void test_t2()=3D3:3(location_t:2147483629)-3:3(location_t:2147483634) void test_t1()=3D2:1(location_t:2147483638)-2:1(location_t:2147483643) while C does: $ gcc pr94029.c --coverage -c test_t2=3D3:3(location_t:2147483629)-2:1(location_t:246216) test_t1=3D2:1(location_t:2147483638)-2:1(location_t:246216)=