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

--- Comment #4 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:32077b693df8e3ed0424031a322df23822bf2f7e

commit r10-5970-g32077b693df8e3ed0424031a322df23822bf2f7e
Author: David Malcolm <dmalc...@redhat.com>
Date:   Thu Jan 9 10:12:59 2020 -0500

    analyzer: fix ICE on METHOD_TYPE (PR 93212)

    PR analyzer/93212 reports an ICE when attempting to use -fanalyzer
    on a C++ source file.  That isn't supported yet, but the fix is
    trivial (handling METHOD_TYPE as well as FUNCTION_TYPE).

    gcc/analyzer/ChangeLog:
        PR analyzer/93212
        * region-model.cc (make_region_for_type): Use
        FUNC_OR_METHOD_TYPE_P rather than comparing against FUNCTION_TYPE.
        * region-model.h (function_region::function_region): Likewise.

Reply via email to