From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjstein@bfr.co.il (Harvey J. Stein) To: egcs@egcs.cygnus.com Cc: hjstein@bfr.co.il Subject: g77 plans - support for automatic, .eq. for logicals, etc? Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: X-SW-Source: 1999-03n/msg00420.html Message-ID: <19990331234600.PFx_SzOVADkijeZCEJS0Xer3B4Mv-r_0LST_wiIaf_s@z> We're still using f2c because it's more friendly for our code. Specifically: 1. The AUTOMATIC keyword for forcing allocation of specified variables on the stack instead of statically is not supported by g77. 2. G77 requires .EQV. & .NEQV. to be used for comparing logicals, whereas most other Fortran compilers accept the use of .EQ. and .NE. without comment. 3. G77 chokes on certain implicit do loops in DATA statements that other Fortran compilers accept without comment. 4. f2c + my f2c-stabs package works better under gdb (inside of emacs) for viewing variables than g77 with gdb. I'm not sure if this is a complete list, but it's most of the reason why we're unable to switch to g77 from f2c. Are there any plans for addressing these points, or are we forced to either keep using f2c? BTW, because of compilation standards on other platforms (not to mention the size of the changes required), we can't solve 1 by compiling with the flag to make all variables automatic except for those mentioned in a STATIC line. -- Harvey J. Stein BFM Financial Research hjstein@bfr.co.il