summaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r--gcc/fortran/decl.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 94573ac9df5..3a78efc6560 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -2699,14 +2699,7 @@ gfc_match_save (void)
if (m == MATCH_NO)
goto syntax;
- c = gfc_get_common (n);
-
- if (c->use_assoc)
- {
- gfc_error("COMMON block '%s' at %C is already USE associated", n);
- return MATCH_ERROR;
- }
-
+ c = gfc_get_common (n, 0);
c->saved = 1;
gfc_current_ns->seen_save = 1;