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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:3600b1ff14a459e84bb40bdfea7cd8d2ffd73d8d

commit r15-7224-g3600b1ff14a459e84bb40bdfea7cd8d2ffd73d8d
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Mon Jan 27 09:55:26 2025 +0000

    Fortran: ICE in gfc_conv_expr_present w. defined assignment [PR118640]

    2025-01-27  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/118640
            * resolve.cc (generate_component_assignments): Make sure that
            the rhs temporary does not pick up the optional attribute from
            the lhs.

    gcc/testsuite/
            PR fortran/118640
            * gfortran.dg/pr118640.f90: New test.

Reply via email to