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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:5060825aa78b3da036df6437390fd42d094d8f15

commit r14-6644-g5060825aa78b3da036df6437390fd42d094d8f15
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sat Dec 16 19:14:55 2023 +0100

    Fortran: fix argument passing to CONTIGUOUS,TARGET dummy [PR97592]

    gcc/fortran/ChangeLog:

            PR fortran/97592
            * trans-expr.cc (gfc_conv_procedure_call): For a contiguous dummy
            with the TARGET attribute, the effective argument may still be
            contiguous even if the actual argument is not simply-contiguous.
            Allow packing to be decided at runtime by _gfortran_internal_pack.

    gcc/testsuite/ChangeLog:

            PR fortran/97592
            * gfortran.dg/contiguous_15.f90: New test.

Reply via email to