From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D07C53957052; Mon, 10 May 2021 06:18:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D07C53957052 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/100467] [12 regression] g++.dg/debug/dwarf2/thunk1.C Date: Mon, 10 May 2021 06:18:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: edlinger at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 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: Mon, 10 May 2021 06:18:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100467 --- Comment #6 from CVS Commits --- The master branch has been updated by Bernd Edlinger : https://gcc.gnu.org/g:6c9071c089c31eddc4ac80e0488bb9d37f9e11f1 commit r12-640-g6c9071c089c31eddc4ac80e0488bb9d37f9e11f1 Author: Bernd Edlinger Date: Sat May 8 07:46:17 2021 +0200 Reset prologue_location before calling code_end Some targets emit thunks from the targetm.asm_out.code_end function and set the DECL_IGNORED_P, but due to e69ac020372 ("Add line debug info for virtual thunks") the value in prologue_location is no longer ignored. So reset that value before calling the backend. 2021-05-10 Bernd Edlinger PR middle-end/100467 * toplev.c (compile_file): Call insn_locations_init before targetm.asm_out.code_end.=