2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66057
* decl.c(gfc_match_generic): Detected a malformed GENERIC statement.
2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66057
* gfortran.dg/generic_29.f90: New tests.
From-SVN: r223325
+2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/66057
+ * decl.c(gfc_match_generic): Detected a malformed GENERIC statement.
+
2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66043
gfc_op2string (op));
break;
+ case INTERFACE_NAMELESS:
+ gfc_error ("Malformed GENERIC statement at %C");
+ goto error;
+ break;
+
default:
gcc_unreachable ();
}
+2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/66057
+ * gfortran.dg/generic_29.f90: New tests.
+
2015-05-18 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66043
--- /dev/null
+! { dg-do compile}
+! PR fortran/66057
+!
+! Original code from Gerhard Steinmetz
+! <gerhard dot steinmetz dot fortran at t-online dot de>
+program p
+ type t
+ contains
+ generic :: ! { dg-error "Malformed GENERIC" }
+ end type
+end