------- Comment #3 from kargl at gcc dot gnu dot org 2010-08-10 17:49 ------- Might as well confirm the bug.
This patch stops the segmentation fault, but I do not know if it is the correct fix. Index: interface.c =================================================================== --- interface.c (revision 163075) +++ interface.c (working copy) @@ -1611,7 +1611,8 @@ compare_parameter (gfc_symbol *formal, g if (formal->ts.type == BT_CHARACTER && (ref == NULL || (actual->expr_type == EXPR_VARIABLE - && (actual->symtree->n.sym->as->type == AS_ASSUMED_SHAPE + && ((actual->symtree->n.sym->as + && actual->symtree->n.sym->as->type == AS_ASSUMED_SHAPE) || actual->symtree->n.sym->attr.pointer)))) { if (where && (gfc_option.allow_std & GFC_STD_F2003) == 0) -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-10 17:49:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45244