2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/88376
* resolve.c (is_illegal_recursion): Remove an assert().
2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/88376
* gfortran.dg/pr88376.f90: New test.
From-SVN: r267793
+2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/88376
+ * resolve.c (is_illegal_recursion): Remove an assert().
+
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
PR other/16615
-
* expr.c: Change "can not" to "cannot".
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
PR other/16615
-
* class.c: Mechanically replace "can not" with "cannot".
* decl.c: Likewise.
* expr.c: Likewise.
|| gfc_fl_struct (sym->attr.flavor))
return false;
- gcc_assert (sym->attr.flavor == FL_PROCEDURE);
-
/* If we've got an ENTRY, find real procedure. */
if (sym->attr.entry && sym->ns->entries)
proc_sym = sym->ns->entries->sym;
+2019-01-09 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/88376
+ * gfortran.dg/pr88376.f90: New test.
+
2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
PR other/16615
-
* g++.dg/lto/odr-1_1.C: Update diagnostic message patterns to replace
"can not" with "cannot".
* gfortran.dg/common_15.f90: Likewise.
--- /dev/null
+! { dg-do compile }
+module m
+ integer :: n
+contains
+ subroutine s
+ character(n(3)) :: c ! { dg-error "not a function" }
+ end
+end