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

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

https://gcc.gnu.org/g:111fb5d3cafd0f7f2a0d01aa9e1213013fa0cc83

commit r12-9357-g111fb5d3cafd0f7f2a0d01aa9e1213013fa0cc83
Author: David Malcolm <dmalc...@redhat.com>
Date:   Wed Mar 29 14:16:47 2023 -0400

    analyzer: handle (NULL == &VAR) [PR107345]

    Cherrypicked from r13-3468-g18faaeb3af42f3.

    gcc/analyzer/ChangeLog:
            PR analyzer/107345
            * region-model.cc (region_model::eval_condition_without_cm):
            Ensure that constants are on the right-hand side before checking
            for them.

    gcc/testsuite/ChangeLog:
            PR analyzer/107345
            * gcc.dg/analyzer/pr107345.c: New test.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>
  • [Bug analyzer/107345] -Wanalyze... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to