https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
From comment 0, obvious patch

--- ../_clean/gcc/fortran/expr.c        2017-03-22 17:29:45.000000000 +0100
+++ gcc/fortran/expr.c  2017-03-26 16:12:21.000000000 +0200
@@ -2591,7 +2591,7 @@ gfc_check_init_expr (gfc_expr *e)
       else
        gfc_error ("Parameter %qs at %L has not been declared or is "
                   "a variable, which does not reduce to a constant "
-                  "expression", e->symtree->n.sym->name, &e->where);
+                  "expression", e->symtree->name, &e->where);

       break;

Reply via email to