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

            Bug ID: 93889
           Summary: missing closing parenthesis in diagnostic
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

From interface.c:
> gfc_error_opt (0, "Rank mismatch between actual argument at %L "
>                "and actual argument at %L (rank-%d and rank-%d", where,
>                where_formal, rank1, rank2);

To avoid this problem in general, in 2019 the -Wformat-diag option has been
added to GCC to detect typos like this. I'm not sure whether it covers Fortran
diagnostics as well, but I think it should. If in doubt, ask Martin Sebor.

Reply via email to