This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27698] subroutine _foo draws "unclassifiable statement" instead of a useful error.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]