Early ping.
> Gesendet: Montag, 29. Juni 2020 um 22:58 Uhr
> Von: "Harald Anlauf" <anl...@gmx.de>
> An: "fortran" <fort...@gcc.gnu.org>, "gcc-patches" <gcc-patches@gcc.gnu.org>
> Betreff: [PATCH] PR fortran/95980 - ICE in get_unique_type_string, at
> fortran/class.c:485
>
> Dear all,
>
> here's a couple of NULL pointer dereferences on invalid code.
>
> Regtested on x86_64-pc-linux-gnu.
>
> OK for master?
>
> Thanks,
> Harald
>
>
> 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.