From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 155E7385841B; Mon, 22 Jan 2024 21:16:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 155E7385841B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705958196; bh=vVA/aaRDRrLbnT7b9vh9cIPJXEeEc8xV5LYuYi0Sb5E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ECNFFy2yUMPLW9VUKSgN8TWMeQ4/spF7P4sDBm/R2QOYlCC1mrKIlnDCocs6v0x8t yo7j8+jJ5e0X5Lg90Ukr1BR1pFpFhWKr/xT3/+8NMQ1npZxbjobD8rzRRsraxi4En2 Y0Kclam29UH4iviBZGBNE8/ALBkpPWn6HWobRnnI= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes Date: Mon, 22 Jan 2024 21:16:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D109642 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c596ce03120cc22e141186401c6656009ddebdaa commit r14-8339-gc596ce03120cc22e141186401c6656009ddebdaa Author: Marek Polacek Date: Mon Jan 22 16:12:33 2024 -0500 c++: extend Wdangling-reference17.C [PR109642] This patch extends g++.dg/warn/Wdangling-reference17.C with code from PR109642. I'm not creating a new test because this one already #includes the required headers. PR c++/109642 gcc/testsuite/ChangeLog: * g++.dg/warn/Wdangling-reference17.C: Additional testing.=