re PR fortran/35339 (Improve translation of implied do loop in transfer)
authorNicolas Koenig <koenigni@student.ethz.ch>
Mon, 5 Jun 2017 12:35:11 +0000 (14:35 +0200)
committerNicolas Koenig <koenigni@gcc.gnu.org>
Mon, 5 Jun 2017 12:35:11 +0000 (12:35 +0000)
commit7b3ee9c97d7eb8eedf46ec04e85dc02fb5161f75
treedc82ba68444550009887b24ace68bec2996c24af
parente4d1c5c43887c9485dd42c9a82b9340c12e19a57
re PR fortran/35339 (Improve translation of implied do loop in transfer)

2017-06-05  Nicolas Koenig  <koenigni@student.ethz.ch>

PR fortran/35339
* frontend-passes.c (traverse_io_block): New function.
(simplify_io_impl_do): New function.
(optimize_namespace): Invoke gfc_code_walker with
simplify_io_impl_do.

2017-06-05  Nicolas Koenig  <koenigni@student.ethz.ch>

PR fortran/35339
* gfortran.dg/implied_do_io_1.f90: New Test.
* gfortran.dg/implied_do_io_2.f90: New Test.

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