From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 367CA3858410; Thu, 9 May 2024 17:53:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 367CA3858410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715277234; bh=xE7pFh0KgSfHxTV9h9AomBTF0MFZOToklRXLK7bzPBU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wQDGJtsINZ9dZhYgHx+mYiM9Av1okRKabgS+W/yTz1VUrwHIq7geedaOivyt9DiOP kChIBzzuc194ZfSey07dHn0sIBb3s8+t2ZpbJ14S4v8IOvGQRxhodAPL5P/sJjMVc7 k324xdSNYlJc/usvAAmXa4uHrzzMm76da8P9ozRw= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/110014] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object)) Date: Thu, 09 May 2024 17:53:54 +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.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution short_desc 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=3D110014 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Summary|[13 Regression] |-Wanalyzer-allocation-size |-Wanalyzer-allocation-size |mishandles realloc (..., |mishandles realloc (..., |.... * sizeof (object)) |.... * sizeof (object)) | --- Comment #5 from David Malcolm --- Should be fixed for GCC 13 (for the upcoming GCC 13.3) by the above patch.=