diff options
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r-- | gcc/fortran/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 12987e6..d379500 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -3000,7 +3000,7 @@ gfc_check_pointer_assign (gfc_expr *lvalue, gfc_expr *rvalue) return FAILURE; } - if (attr.protected && attr.use_assoc) + if (attr.is_protected && attr.use_assoc) { gfc_error ("Pointer assigment target has PROTECTED " "attribute at %L", &rvalue->where); |