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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:f2151227dfe90a5fe73297c370786be98b0b090f

commit r11-1855-gf2151227dfe90a5fe73297c370786be98b0b090f
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Jul 6 18:58:23 2020 +0200

    PR fortran/95980 - ICE on using sync images with -fcheck=bounds

    In SELECT TYPE, the argument may be an incorrectly specified unlimited
    polymorphic variable.  Avoid a NULL pointer dereference for clean error
    recovery.

    gcc/fortran/
            PR fortran/95980
            * match.c (copy_ts_from_selector_to_associate, build_class_sym):
            Distinguish between unlimited polymorphic and ordinary variables
            to avoid NULL pointer dereference.
            * resolve.c (resolve_select_type):
            Distinguish between unlimited polymorphic and ordinary variables
            to avoid NULL pointer dereference.

Reply via email to