https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68319
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> In fact, gfortran is not issues an error for data-stmt, format-stmt,
> or stmt-function-stmt.
Confirmed: the following test compiles
module m
interface
subroutine s
entry e
integer :: x
data x /1/
f(x) = x*x
10 format (a)
end
end interface
contains
subroutine g
end
end
