http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50536

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #5)
> +         gfc_error ("In a READ statement, the input item at %L shall not "
> +                    "be the do-variable of any io-implied-do");

Requires for %L: &new_code->where. And it is insufficient as it does not take
care of, e.g.
   (foo%a(foo%i), foo%i = 1,5)
which is odd but valid.

Reply via email to