]> 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>
Tue, 19 Mar 2024 17:54:20 +0000 (18:54 +0100)
commit5b928badac560ad48e0e9fc480096ff396d9d9c6
tree14683c66df51ef062d92d4063baa68ce3dfc0e2e
parent9623e5dd70b0d8334ebe093459721d0d447ce4f2
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.

(cherry picked from commit 11caf47b599568c6c6f5a12cf8e21f50778176d3)
gcc/fortran/expr.cc
gcc/testsuite/gfortran.dg/is_contiguous_4.f90 [new file with mode: 0644]
This page took 0.077448 seconds and 6 git commands to generate.