From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A64223857812; Wed, 9 Sep 2020 12:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A64223857812 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599654555; bh=2MzrcVZt+bKO4P+67DqTyY7/AdpMh4asI9HwTL5c8Ok=; h=From:To:Subject:Date:From; b=XgI1QD9V+wxXOGTfmhFt70sy8N/zW+2E5h4fuoISoZo4GgBbPIsNv4E24wN804QA1 S4zf+ZA63+SeG5kO6ttUfqr/JkymS543HxjSjfTlg97GtsRhavFLdtmyYp3eAc21cV +BPv3kkyw7KdQdML7TO5vcjPDlVmEO/BbgHSe20M= From: "alexis.jeandet at member dot fsf.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/96997] New: step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) Date: Wed, 09 Sep 2020 12:29:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: alexis.jeandet at member dot fsf.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Wed, 09 Sep 2020 12:29:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96997 Bug ID: 96997 Summary: step over in gdb always stops in basic_string(const _CharT* __s, const _Alloc& __a =3D _Alloc()) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: alexis.jeandet at member dot fsf.org Target Milestone: --- Minimum code to reproduce the issue: #include #include int main() { std::cout << std::string{"str1"}; std::cout << std::string{"str2"}; return 0; } Stepping over will stop in basic_string ctor which is unexpected. This is reproductible with G++ 10.2.1 and 10.2.0 (Fedora 32, 32 and Arch).=20 On the same machine building with clang and debugging with gdb doesn't have this issue. g++9 and 8 works as expected.=