From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8C7ED3858035; Sun, 18 Dec 2022 17:47:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C7ED3858035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671385649; bh=+7KY34cMvnDOAttPcweuC1bZjIromFg1AilnTyStyzE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WvZ0URPaAaP3kglGpVgaqt5Iq4QT1QrOQD2PpTATfJMuPKArvBzH/YzgmS/ihLmJz gtQwTV7ErwrBGISYnMuFvYqewVuKCEFn4FDjDnmDYOLsCsvRmrIFUemtgedNnFHvz7 jWQ1ZDMepnxCJAbcPzjHfKjxP8nDMYcduO/74lq4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108165] -Wdangling-reference false positive Date: Sun, 18 Dec 2022 17:47:29 +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.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.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: 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=3D108165 --- Comment #2 from Andrew Pinski --- or is it because of the different types? GCC does not look into that either= and does not look into if they are castable either ...=