diff options
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r-- | gcc/fortran/expr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 8e608ed..1048920 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -693,6 +693,10 @@ static match check_specification_function (gfc_expr *e) { gfc_symbol *sym; + + if (!e->symtree) + return MATCH_NO; + sym = e->symtree->n.sym; /* F95, 7.1.6.2; F2003, 7.1.7 */ |