From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F9AD385DC35; Wed, 13 Dec 2023 20:06:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F9AD385DC35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702497996; bh=BwnpsRFTqDMGa9jZcKHQteWx7tQq9SL9evfvXN5vu60=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jl8gA8f47DF8SNThVARgCDgRHsi9ezp0PTsOdVgZGYR0SFux2flbbN9Ks/CjCY1NH eKXQxeSWPAmokJDdmY9rHbVMfTaNIqB3Pt9asRBYxhlSY5XEHsOJZvE3Le2DdJSdQS dGr1bloh5ckGrccpjqAVGXzwI93ZsMm8tg4tUgyw= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/96997] [10/11 Regression] step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) Date: Wed, 13 Dec 2023 20:06:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.3 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96997 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:063564ecbfc618cd019f86216a0224e144effae1 commit r14-6511-g063564ecbfc618cd019f86216a0224e144effae1 Author: Jason Merrill Date: Wed Dec 13 14:15:44 2023 -0500 c++: TARGET_EXPR location in default arg [PR96997] My r14-6505-g52b4b7d7f5c7c0 change to copy the location in build_aggr_init_expr reopened PR96997; let's fix it properly this time,= by clearing the location like we do for other trees. PR c++/96997 gcc/cp/ChangeLog: * tree.cc (bot_manip): Check data.clear_location for TARGET_EXP= R. gcc/testsuite/ChangeLog: * g++.dg/debug/cleanup2.C: New test.=