+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
{
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 "
+2020-02-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/93890
+ * gfortran.dg/argument_checking_24.f90: Correct test case.
+
2020-02-21 Martin Sebor <msebor@redhat.com>
PR gcov-profile/93753
call invalid_4 (b) ! { dg-error "Rank mismatch" }w
call invalid_5 (b) ! { dg-error "Rank mismatch" }
call invalid_5 (vv(1)%x) ! { dg-error "Rank mismatch" }
- call invalid_6 (x) ! { dg-error "can not correspond to actual argument" }
- call invalid_6 (pointer_v%x(1)) ! { dg-error "can not correspond to actual argument" }
+ call invalid_6 (x) ! { dg-error "cannot correspond to actual argument" }
+ call invalid_6 (pointer_v%x(1)) ! { dg-error "cannot correspond to actual argument" }
call invalid_7 (pointer_v%x(1)) ! { dg-error "Rank mismatch" }
call invalid_7 (x) ! { dg-error "Rank mismatch" }
call invalid_8 (p(1)) ! { dg-error "Rank mismatch" }
call invalid_8 (x) ! { dg-error "Rank mismatch" }
- call invalid_9 (x) ! { dg-error "can not correspond to actual argument" }
- call invalid_9 (p(1)) ! { dg-error "can not correspond to actual argument" }
+ call invalid_9 (x) ! { dg-error "cannot correspond to actual argument" }
+ call invalid_9 (p(1)) ! { dg-error "cannot correspond to actual argument" }
end subroutine foo
subroutine bar(a, alloc)