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

--- Comment #3 from CVS 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:bf8ee9e4eed6ba1a6d77b4cf168df480e1f954da

commit r11-6863-gbf8ee9e4eed6ba1a6d77b4cf168df480e1f954da
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Fri Jan 22 17:11:06 2021 +0000

    Fortran: Fix for class functions as associated target [PR98565].

    2021-01-22  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/98565
            * trans-intrinsic.c (gfc_conv_associated): Do not add a _data
            component for scalar class function targets. Instead, fix the
            function result and access the _data from that.

    gcc/testsuite/
            PR fortran/98565
            * gfortran.dg/associated_target_7.f90 : New test.

Reply via email to