Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!udel!garrett@oscar.ccm.udel.edu From: garrett@oscar.ccm.udel.edu Newsgroups: comp.lang.fortran Subject: Re: FORTRAN standards checker Message-ID: <17103@louie.udel.EDU> Date: 7 Jun 89 17:50:03 GMT Sender: usenet@udel.EDU Distribution: usa Organization: University of Delaware, CCM Lines: 30 In article <11636@cgl.ucsf.EDU>, seibel@cgl.ucsf.edu (George Seibel) writes... >In article <248@pvi.UUCP> karenk@.com() writes: >>Does anyone know of a program that does FORTRAN standards checking and >>runs on VAX/VMS, or Sun, or HP-9000? Ideally, it would: >> >>1. flag all non-standard constructs (e.g. mixed character and non-character >> in a common block, non-standard characters like '!'). >> >>2. check for agreement between called and calling subroutines in number and >> type of parameters. >> >>It would also be nice if it could check for unused variables, variables set but >>never used, and variables used but never set. > The IBM VS FORTRAN compiler does a pretty good job of flagging some of these things. The ICA (Inter-Compilation Analysis) tool will catch inconsitent usage across program units for arguments to subroutines. The FIPS option will flag all non ANSI fortran coding, etc. You can see what routines, labels, etc aren't in use by using the XREF stuff. Now if only they could do something about the operating systems you have to use to run this very nice compiler (VM/MVS/etc...) (Guess this wasn't much help, you wanted VAX solutions, etc. doesn't DEC sell a layered software product that will do most of this stuff?) +-------------------------------------+--------------------------------------+ | Joel J. Garrett, Research Associate | Phone: (302)-451-2332 | | Center for Composite Materials | inet: garrett@oscar.ccm.udel.edu | | University of Delaware | - or - | | Newark, Delaware 19716 | garrett@udel.edu | +-------------------------------------+--------------------------------------+