[Bug fortran/93889] New: missing closing parenthesis in diagnostic
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Feb 22 22:29:00 GMT 2020
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.
More information about the Gcc-bugs
mailing list