Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!interet!iris From: iris@interet.UUCP (User) Newsgroups: comp.lang.fortran Subject: Re: FORTRAN and (un)SAVEd vars Summary: How to find variables names which should be SAVE'd Keywords: FORTRAN 77, SAVE Message-ID: <8@interet.UUCP> Date: 5 Mar 91 20:58:41 GMT References: <1991Feb28.004447.3728@nas.nasa.gov> <4849@goanna.cs.rmit.oz.au> <1991Feb28.164256.23516@nas.nasa.gov> Reply-To: iris@interet.UUCP (User) Organization: Interet, Maplewood, NJ Lines: 15 IPT in Palo Alto, CA offers a product called Fortran-Lint which we use on a Sparc station. It is also available for other DOS and Unix platforms. Fortran-Lint is a very good global source code optimizer (we also use MAT and Quibus's FORWARN; Fortran-lint compares favorably with both). Among its vast array of very useful diagnostics, Fortran-lint includes an apparently very rigorously com- plete, if a bit conservative, list of variables which _may_ be referenced before set. If you SAVE these, you should be ok. (You may also catch a few real bugs!) Iris Engelson Interet