http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50570
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #4 from janus at gcc dot gnu.org 2011-10-09 20:31:34 UTC --- How about this? Index: gcc/fortran/expr.c =================================================================== --- gcc/fortran/expr.c (revision 179723) +++ gcc/fortran/expr.c (working copy) @@ -4635,7 +4635,7 @@ gfc_check_vardef_context (gfc_expr* e, bool pointe sym->name, context, &e->where); return FAILURE; } - if (!pointer && !is_pointer) + if (!pointer && !sym->attr.pointer) { if (context) gfc_error ("Dummy argument '%s' with INTENT(IN) in variable"