From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00DE13858C54; Mon, 10 Oct 2022 19:10:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00DE13858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665429022; bh=ASF3uExVBuiYYId/tjWM0T9XSY97yocF0jIr2T+VpeM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bAVKv7s1k+dMy+U1B4ryY9DsERhADpFocFoA4egvhajNKUVJk770dhWlMRvuhlCo0 7YU61Wr1T9WDrAe5EM+l7RV6UQaRxpOti0x2LUbBU9+enAFyVRzSXBcs4p4on2p/dA FVZiMfbyyj2XFB+XHlbJ1aNY/OQwDEHCLSRwdY6Q= From: "carlosgalvezp at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107200] False positive -Wdangling-pointer? Date: Mon, 10 Oct 2022 19:10:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlosgalvezp at gmail dot com X-Bugzilla-Status: WAITING 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: attachments.created 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=3D107200 --- Comment #2 from Carlos Galvez --- Created attachment 53688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53688&action=3Dedit Preprocessed source Attaching preprocessed source. Had to use a tarball since it exceeds the 1 = MB limit. Alternatively, you can get the same by adding "-E" to the flags in t= he Compiler Explorer example I posted above. Let me know if I can provide more info! Thanks for looking into it :)=