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

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

https://gcc.gnu.org/g:4669f3830fc80921b0e8a0a8d45451820283cc46

commit r10-9985-g4669f3830fc80921b0e8a0a8d45451820283cc46
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