https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108616

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

https://gcc.gnu.org/g:70d34f2a30a5f1a2a09f547d92243db32d79f3f7

commit r13-5614-g70d34f2a30a5f1a2a09f547d92243db32d79f3f7
Author: David Malcolm <dmalc...@redhat.com>
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 "alloca"
            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 <dmalc...@redhat.com>

Reply via email to