clawpack / amrclaw

AMR version of Clawpack
http://www.clawpack.org
BSD 3-Clause "New" or "Revised" License
26 stars 46 forks source link

Remove `do` loops that do not have a `continue` or `end do` #247

Open mandli opened 5 years ago

mandli commented 5 years ago

Fortran 2018 has removed the do loop termination without either a continue statement with a line number or an end do. We should probably remove these to add better readability anyway.

GCC (gfortran) version 9.1.0 is now emitting the following warning:

Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label