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

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

https://gcc.gnu.org/g:1847a11f4ad8960a57384ed1ef2d0292c65166ed

commit r9-9627-g1847a11f4ad8960a57384ed1ef2d0292c65166ed
Author: Harald Anlauf <anl...@gmx.de>
Date:   Wed Jul 14 17:25:29 2021 +0200

    Fortran - ICE in gfc_conv_expr_present initializing non-dummy class
variable

    gcc/fortran/ChangeLog:

            PR fortran/100949
            * trans-expr.c (gfc_trans_class_init_assign): Call
            gfc_conv_expr_present only for dummy variables.

    gcc/testsuite/ChangeLog:

            PR fortran/100949
            * gfortran.dg/pr100949.f90: New test.

    (cherry picked from commit 269ca408e2839d7f3554a91515d73d4d95352f68)

Reply via email to