This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27698] subroutine _foo draws "unclassifiable statement" instead of a useful error.
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2006 15:23:56 -0000
- Subject: [Bug fortran/27698] subroutine _foo draws "unclassifiable statement" instead of a useful error.
- References: <bug-27698-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from aldot at gcc dot gnu dot org 2006-11-18 15:23 -------
> Disallowing a dollar sign as the very first character in a name even if
> -fdollar-ok was requested by the user seems to be a simple omission to me.
>
> Whether we want to allow for such invalid code for compatibility is beyond my
> judgement, though.
One implication would concern implicit types, AFAICS.
gfc_namespace.default_type[GFC_LETTERS] is currently limiting implicit types to
a..z
Should -fdollar-ok be made to allow for a '$' even in the first position of a
name (including implicit types for types with a name starting with '$') or are
we better off to extend the documentation to explicitely note that '$' as the
_first_ char in a name is not supported in this extension?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27698