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

Reply via email to