]> gcc.gnu.org Git - gcc.git/commit
Fortran: out of bounds access with nested implied-do IO [PR111837]
authorHarald Anlauf <anlauf@gmx.de>
Mon, 16 Oct 2023 19:02:20 +0000 (21:02 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 17 Oct 2023 16:55:22 +0000 (18:55 +0200)
commit5ac63ec5da2e93226457bea4dbb3a4f78d5d82c2
tree91ea2baa5d5d95216ff0a31b2bfb4ae190c7857b
parent43c2f85f52c8400b7204e24400c52c3173c50735
Fortran: out of bounds access with nested implied-do IO [PR111837]

gcc/fortran/ChangeLog:

PR fortran/111837
* frontend-passes.cc (traverse_io_block): Dependency check of loop
nest shall be triangular, not banded.

gcc/testsuite/ChangeLog:

PR fortran/111837
* gfortran.dg/implied_do_io_8.f90: New test.
gcc/fortran/frontend-passes.cc
gcc/testsuite/gfortran.dg/implied_do_io_8.f90 [new file with mode: 0644]
This page took 0.072876 seconds and 6 git commands to generate.