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

--- Comment #3 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:f5a9d76be849b4cf20b1b687febc34a937381dc3

commit r12-6781-gf5a9d76be849b4cf20b1b687febc34a937381dc3
Author: David Malcolm <dmalc...@redhat.com>
Date:   Wed Jan 19 12:09:09 2022 -0500

    analyzer: add regression test [PR103685]

    PR analyzer/103685 reports a false positive from
-Wanalyzer-null-dereference
    seen at -O2 with GCC 11.  I can reproduce it with GCC 11, but not with
    trunk; this patch adds a reduced test case that reproduces it with
    GCC 11 as a regression test for GCC 12 onwards.

    gcc/testsuite/ChangeLog:
            PR analyzer/103685
            * gcc.dg/analyzer/torture/pr103685.c: New test.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Reply via email to