shared-do-termination (OB092)
Fix is sometimes available.
This rule is unstable and in preview. The --preview flag is required for use.
This rule is turned on by default.
What it does
Checks for do loops that share termination labels.
Why is this bad?
Labelled do loops that share statements to mark their end are particularly
confusing and bugprone, and were deleted in the Fortran 2018 standard.
Example
Use instead: