[Bug fortran/18833] ICE 'missing spec' on integer/char equivalence
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 5 20:59:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list