From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CB02E3851C3B; Sat, 9 May 2020 22:54:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB02E3851C3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589064841; bh=hNvJBZfLe0ecR1WksQcuDL6vNYbZNJXL0ZHvJZHrp8U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FXtdafJ5mBjpjXLGvPenTgwfIY6YQtPVF5poOCfpAunqUNfo+0NLcphwW8AVIxGvx lefdoBLCWeX4cwcuVqFlyoJlbKxVS3qc25IQUHIMxbA8wCqJt+f1zKxwoYgk/d52ag PJv1jnrZxhbCRFZoVUhWT70C6ZuW4MKBdFsfj6Pg= From: "hugo_musso_gualandi at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/94851] -fanalyzer erroneously reporting NULL dereference - simple test case attached Date: Sat, 09 May 2020 22:54:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hugo_musso_gualandi at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 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: Sat, 09 May 2020 22:54:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94851 Hugo Gualandi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugo_musso_gualandi@hotmail | |.com --- Comment #3 from Hugo Gualandi = --- Created attachment 48492 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48492&action=3Dedit Another test case (-O1)=