aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorThomas König <tkoenig@gcc.gnu.org>2020-02-23 17:22:26 +0100
committerThomas König <tkoenig@gcc.gnu.org>2020-02-23 17:22:26 +0100
commit92e8508edaccca6f33098972ce29679375c07cd6 (patch)
tree4938fa3f3dbb3dbe78614b464b33e39e6398fa5d /gcc/fortran
parent7260547dbffd8e6442f99da8adf98ab0ce294e4e (diff)
downloadgcc-92e8508edaccca6f33098972ce29679375c07cd6.zip
gcc-92e8508edaccca6f33098972ce29679375c07cd6.tar.gz
gcc-92e8508edaccca6f33098972ce29679375c07cd6.tar.bz2
Add missing closing parenthises in error message.
2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/93889 * interface.c (compare_parameter): Fix error message.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/interface.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 5f889fb..1ed6a97 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,10 @@
2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+ PR fortran/93889
+ * interface.c (compare_parameter): Fix error message.
+
+2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
PR fortran/93890
* interface.c: Replace "can not" by "cannot" and remove trailing
space.
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c
index 4106fe5..14d03c2 100644
--- a/gcc/fortran/interface.c
+++ b/gcc/fortran/interface.c
@@ -2223,7 +2223,7 @@ argument_rank_mismatch (const char *name, locus *where,
where, where_formal, rank1);
else
gfc_error_opt (0, "Rank mismatch between actual argument at %L "
- "and actual argument at %L (rank-%d and rank-%d", where,
+ "and actual argument at %L (rank-%d and rank-%d)", where,
where_formal, rank1, rank2);
}
}