From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 266C23865479; Thu, 9 May 2024 17:11:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 266C23865479 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715274666; bh=0QAcAkobhFQPIkgLbFyYSDrS4ColnXBdGYt/qXhQvN0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hKZ39Q/Tl8t/AH8FVj2siI3Ba+dAcUTFNplEIGbkoAp8r4ViB4+IFGXL9M26ZyiS9 SAcjej6tq0LVuky+nWocdpoMQkhLoRAGQBUV6JNL/PPd35Ss9nKEEijuMrJVyKE7Gn 7u/o2Q+RwtE3bQNfUH314GVIdFli9gsiacPXEaxo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/110014] [13 Regression] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object)) Date: Thu, 09 May 2024 17:11:05 +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: 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: 13.3 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=3D110014 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by David Malcolm : https://gcc.gnu.org/g:e0c52905f666e3d23881f82dbf39466a24f009f4 commit r13-8743-ge0c52905f666e3d23881f82dbf39466a24f009f4 Author: Tim Lange Date: Thu May 9 13:09:26 2024 -0400 testsuite: Add more allocation size tests for conjured svalues [PR11001= 4] This patch adds the reproducers reported in PR 110014 as test cases. The false positives in those cases are already fixed with PR 109577. 2023-06-09 Tim Lange PR analyzer/110014 gcc/testsuite/ChangeLog: * gcc.dg/analyzer/realloc-pr110014.c: New tests. (cherry picked from commit r14-1685-g39adc5eebd61fd276f3f1ef9d7228756a35bd0cb) Signed-off-by: David Malcolm =