[Bug analyzer/96639] [11 Regression] ICE: Segmentation fault (in useless_type_conversion_p)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 17 18:46:54 GMT 2020


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

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

https://gcc.gnu.org/g:42c5ae5d7f0ad89b75d93c497fe44b6c66da7e76

commit r11-2724-g42c5ae5d7f0ad89b75d93c497fe44b6c66da7e76
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Mon Aug 17 11:40:44 2020 -0400

    analyzer: fix ICE due to NULL type [PR96639]

    gcc/analyzer/ChangeLog:
            PR analyzer/96639
            * region.cc (region::get_subregions_for_binding): Check for "type"
            being NULL.

    gcc/testsuite/ChangeLog:
            PR analyzer/96639
            * gcc.dg/analyzer/pr96639.c: New test.


More information about the Gcc-bugs mailing list