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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276265
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
{
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)