From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 052D6384D149; Thu, 6 Oct 2022 19:48:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 052D6384D149 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665085692; bh=zukTA3HMeqTm738U9DKV10I6WJ5FdqEzLo4KDW0v4TA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H8xeejiIhSPTfXhA9pBBLpO7NUOxQXsm87uwD4ychJ8XZ+KGpgkTB2AYBnIbhQQaU qZSyEZkt+GzHo82+qjItP3K9lOx0aDiS6g0jSlbQXEllrKtgt1pvoMkswOciHSbQlr haoyx7FjYlMjEHhbILuP3qgjyRdVkoE07O0CS+Mk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2 Date: Thu, 06 Oct 2022 19:48:11 +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: 13.0 X-Bugzilla-Keywords: 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: dmalcolm 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=3D107158 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:629b4813e91aba0a8fc9b18434ec1808776a4b3d commit r13-3138-g629b4813e91aba0a8fc9b18434ec1808776a4b3d Author: David Malcolm Date: Thu Oct 6 15:46:49 2022 -0400 analyzer: fix another ICE in PR 107158 I overreduced PR analyzer/107158 in r13-3096-gef878564140cbc, and there was another ICE in the original reproducer, which this patch fixes. gcc/analyzer/ChangeLog: PR analyzer/107158 * store.cc (store::replay_call_summary_cluster): Eliminate special-casing of RK_HEAP_ALLOCATED in favor of sharing code wi= th RK_DECL, avoiding an ICE due to attempting to bind a compound_svalue into a binding_cluster when an svalue in the summary cluster converts to a compound_svalue in the caller. gcc/testsuite/ChangeLog: PR analyzer/107158 * gcc.dg/analyzer/call-summaries-pr107158-2.c: New test. Signed-off-by: David Malcolm =