From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C2053985C37; Tue, 3 Nov 2020 16:48:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C2053985C37 From: "johannes.ziegenbalg at mailbox dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage Date: Tue, 03 Nov 2020 16:48:30 +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.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: johannes.ziegenbalg at mailbox dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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, 03 Nov 2020 16:48:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95847 --- Comment #3 from johannes.ziegenbalg at mailbox dot org --- I get the same bug with GCC 10.2.0 in one of my c++ test-cases. I also tested GCC 11 (GNU Fortran (GCC) 11.0.0 20201029) with the attached = file and got the same result. After a little digging I found out that the expanded region for 'sbr' start= s at line 8 (`use foo`) and ends at line 4 (`end subroutine sbr`). But I have no idea why `expand_location` returns line 8.=