------- 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