https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105547

--- Comment #1 from Mikael Morin <mikael at gcc dot gnu.org> ---
In parse.cc, we avoid emitting an error if an other has been emitted.
But it uses the total error count, not the number of errors since we started
matching the current statement.

597  if (!gfc_error_check ())
598    {
599      int ecnt;
600      gfc_get_errors (NULL, &ecnt);
601      if (ecnt <= 0)
602        gfc_error_now ("Unclassifiable statement at %C");
603    }

Reply via email to