diff options
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r-- | gcc/fortran/decl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index c87fc1b..43c558a 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -8391,6 +8391,8 @@ gfc_match_generic (void) target->specific_st = target_st; target->specific = NULL; target->next = tb->u.generic; + target->is_operator = ((op_type == INTERFACE_USER_OP) + || (op_type == INTERFACE_INTRINSIC_OP)); tb->u.generic = target; } while (gfc_match (" ,") == MATCH_YES); |