2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85780
* resolve.c (resolve_fl_procedure): Avoid NULL dereference.
2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85780
* gfortran.dg/pr85780.f90: New test.
From-SVN: r260698
+2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/85780
+ * resolve.c (resolve_fl_procedure): Avoid NULL dereference.
+
2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85779
while (curr_arg != NULL)
{
/* Skip implicitly typed dummy args here. */
- if (curr_arg->sym->attr.implicit_type == 0)
+ if (curr_arg->sym && curr_arg->sym->attr.implicit_type == 0)
if (!gfc_verify_c_interop_param (curr_arg->sym))
/* If something is found to fail, record the fact so we
can mark the symbol for the procedure as not being
+2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/85780
+ * gfortran.dg/pr85780.f90: New test.
+
2018-05-24 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85779
--- /dev/null
+! { dg-do compile }
+! { dg-options "-std=legacy" }
+! PR fortran/85780
+subroutine s(*) bind(c)
+end