From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 463FA3858C00; Wed, 1 Feb 2023 02:22:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 463FA3858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675218143; bh=rTFp90CPy9av6E+SBAq+FM6MaiLurbTl+r/t4266ZCo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bdy1L6Pm+UMc3ZN3wzx10WYm6ICgm7vNgGvtGb/vs4qFZsb92sAOyykcPI+7JRvgP aMXRgXF0XYiFc65FjZIoXbyTw2z3ZYeYKyzN5SH6bT0hFHAJVRSVYRsK61pJyEc0PY 8b1GE0HTvBLMxiQ1tHPO9nYMqM5C1hJeoly+p/bg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/108616] -Wanalyzer-allocation-size false negatives for use of "alloca" Date: Wed, 01 Feb 2023 02:22:22 +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=3D108616 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:70d34f2a30a5f1a2a09f547d92243db32d79f3f7 commit r13-5614-g70d34f2a30a5f1a2a09f547d92243db32d79f3f7 Author: David Malcolm Date: Tue Jan 31 21:18:10 2023 -0500 analyzer: fix -Wanalyzer-allocation-size false -ve on alloca [PR108616] gcc/analyzer/ChangeLog: PR analyzer/108616 * pending-diagnostic.cc (fixup_location_in_macro_p): Add "alloc= a" to macros that we shouldn't unwind inside. gcc/testsuite/ChangeLog: PR analyzer/108616 * gcc.dg/analyzer/allocation-size-multiline-3.c: New test. * gcc.dg/analyzer/test-alloca.h: New test. Signed-off-by: David Malcolm =