aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r--gcc/fortran/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 31b2336..b6add1c 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -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)