re PR fortran/85387 (incorrect output with optimization /= 0)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 14 Apr 2018 13:38:41 +0000 (13:38 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 14 Apr 2018 13:38:41 +0000 (13:38 +0000)
commitacd1559a0e07edca7e130e5fbc2d230ac8ba841c
treeb09d0087989a89f838fae83355f4777bdf39ea57
parent4be91498e272b823f627097cdcb10c7f893e2942
re PR fortran/85387 (incorrect output with optimization /= 0)

2018-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85387
* frontend-passes.c (traverse_io_block): Check for start, end or
stride being defined by an outer implied DO loop.

2018-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85387
* gfortran.dg/implied_do_io_5.f90: New test.

From-SVN: r259384
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implied_do_io_5.f90 [new file with mode: 0644]