------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-05 20:59 ------- The problem is that the substring reference is parsed as array reference. the responsible code is this fragment from match_varspec in primary.c, after which we unconditionally parse an array reference: if (primary->symtree->n.sym->attr.dimension || (equiv_flag && gfc_peek_char () == '('))
-- What |Removed |Added ---------------------------------------------------------------------------- CC| |tobi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18833