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: 5 Nov 2006 16:37:42 -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 #8 from aldot at gcc dot gnu dot org 2006-11-05 16:37 -------
> 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.
>
ifort-9.1.xx accept it without any notice.
Why would a leading dollar be different to anywhere else in a name?
$ rm -f invalid.o ; cat invalid.f
subroutine $invalid_but_whatever
end subroutine $invalid_but_whatever
end
$ ifort -warn all -check all -o invalid.o -c invalid.f && nm invalid.o
U for_set_reentrancy
U __intel_new_proc_init
0000002a T $invalid_but_whatever_
00000000 r LITPACK_0.0.1
00000000 T MAIN__
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27698