]> gcc.gnu.org Git - gcc.git/commit
Fortran: fix IS_CONTIGUOUS for polymorphic dummy arguments [PR114001]
authorHarald Anlauf <anlauf@gmx.de>
Tue, 12 Mar 2024 21:58:39 +0000 (22:58 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 13 Mar 2024 17:41:20 +0000 (18:41 +0100)
commit11caf47b599568c6c6f5a12cf8e21f50778176d3
treed113740dda5d8135387198cf62e85c03e588ab56
parent74bca21db31e3f4ab6543b56c3f26b4dfe586fef
Fortran: fix IS_CONTIGUOUS for polymorphic dummy arguments [PR114001]

gcc/fortran/ChangeLog:

PR fortran/114001
* expr.cc (gfc_is_simply_contiguous): Adjust logic so that CLASS
symbols are also handled.

gcc/testsuite/ChangeLog:

PR fortran/114001
* gfortran.dg/is_contiguous_4.f90: New test.
gcc/fortran/expr.cc
gcc/testsuite/gfortran.dg/is_contiguous_4.f90 [new file with mode: 0644]
This page took 0.061835 seconds and 5 git commands to generate.