Commit 59784d38 by Jerry DeLisle

re PR fortran/91802 (ICE in mio_name_expr_t, at fortran/module.c:2141)

2019-09-28  Jerry DeLisle  <jvdelisle@gcc.ngu.org>

	PR fortran/91802
	* decl.c (attr_decl1): Return MATCH_ERROR without free to avoid
	bad expression type in free_expr0() ICE in rank+corank check.

From-SVN: r276265
parent e834b8ad
2019-09-28 Jerry DeLisle <jvdelisle@gcc.ngu.org>
PR fortran/91802
* decl.c (attr_decl1): Return MATCH_ERROR without free to avoid
bad expression type in free_expr0() ICE in rank+corank check.
2019-09-28 Steven G. Kargl <kargl@gcc.ngu.org>
PR fortran/91802
......
......@@ -8474,7 +8474,7 @@ attr_decl1 (void)
{
gfc_error ("rank + corank of %qs exceeds 15 at %C", sym->name);
m = MATCH_ERROR;
goto cleanup;
return m;
}
if (sym->attr.cray_pointee && sym->as != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment