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

--- Comment #2 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:2f5951bd95e334d611f4be7bbe1a136c580f9c20

commit r11-2776-g2f5951bd95e334d611f4be7bbe1a136c580f9c20
Author: David Malcolm <dmalc...@redhat.com>
Date:   Wed Aug 19 17:36:53 2020 -0400

    analyzer: fix ICE on vector comparisons [PR96713]

    gcc/analyzer/ChangeLog:
            PR analyzer/96713
            * region-model.cc (region_model::get_gassign_result): For
            comparisons, only use eval_condition when the lhs has boolean
            type, and use get_or_create_constant_svalue on the boolean
            constants directly rather than via get_rvalue.

    gcc/testsuite/ChangeLog:
            PR analyzer/96713
            * gcc.dg/analyzer/pr96713.c: New test.

Reply via email to