------- Comment #1 from janus at gcc dot gnu dot org  2009-07-01 12:13 -------
Patch:

Index: gcc/fortran/trans-expr.c
===================================================================
--- gcc/fortran/trans-expr.c    (revision 149129)
+++ gcc/fortran/trans-expr.c    (working copy)
@@ -2781,6 +2781,9 @@ gfc_conv_procedure_call (gfc_se * se, gf
          char *msg;
          tree cond;

+         if (e == NULL)
+           goto end_pointer_check;
+
          if (e->expr_type == EXPR_VARIABLE)
            sym = e->symtree->n.sym;
          else if (e->expr_type == EXPR_FUNCTION)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40604

Reply via email to