aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorThomas König <tkoenig@gcc.gnu.org>2020-02-23 17:04:06 +0100
committerThomas König <tkoenig@gcc.gnu.org>2020-02-23 17:09:01 +0100
commit7260547dbffd8e6442f99da8adf98ab0ce294e4e (patch)
treebbb51bedb1cdcc9a79c4cb33237938758ca0be63 /gcc/fortran
parent61c8d9e4e5f540501eaa98aae1d6c74bde7d4299 (diff)
downloadgcc-7260547dbffd8e6442f99da8adf98ab0ce294e4e.zip
gcc-7260547dbffd8e6442f99da8adf98ab0ce294e4e.tar.gz
gcc-7260547dbffd8e6442f99da8adf98ab0ce294e4e.tar.bz2
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. 2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/93890 * gfortran.dg/argument_checking_24.f90: Correct test case.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/interface.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 6795b82..5f889fb 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/93890
+ * interface.c: Replace "can not" by "cannot" and remove trailing
+ space.
+
2020-02-20 Tobias Burnus <tobias@codesourcery.com>
PR fortran/93825
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c
index 429abc7..4106fe5 100644
--- a/gcc/fortran/interface.c
+++ b/gcc/fortran/interface.c
@@ -2660,8 +2660,8 @@ compare_parameter (gfc_symbol *formal, gfc_expr *actual,
{
if (formal->attr.artificial)
gfc_error ("Element of assumed-shape or pointer array "
- "as actual argument at %L can not correspond to "
- "actual argument at %L ",
+ "as actual argument at %L cannot correspond to "
+ "actual argument at %L",
&actual->where, &formal->declared_at);
else
gfc_error ("Element of assumed-shape or pointer "