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: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2006 16:27:15 -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 #7 from sgk at troutmask dot apl dot washington dot edu 2006-11-05 16:27 -------
Subject: Re: subroutine _foo draws "unclassifiable statement" instead of a
useful error.
On Sun, Nov 05, 2006 at 04:19:08PM -0000, aldot at gcc dot gnu dot org wrote:
>
> ------- Comment #6 from aldot at gcc dot gnu dot org 2006-11-05 16:19 -------
> Updating the testsuite to account for the new error message now.
>
> Note that i think that we should take -fdollar-ok into account, i.e.:
>
> if (!ISALPHA (c) && !(gfc_option.flag_dollar_ok && c == '$'))
> {
> bail;
> }
>
> to allow for names (in the sense of 3.2.1) that begin with a dollar.
>
> Such names are currently rejected (even if -fdollar-ok suggests that they
> should be ok).
>
>
How does Intel's iand other commercial compilers handle
a leading dollar? The standard is quite clear that the
first character in a name is an alphabetic character.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27698