Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!mike From: mike@hpfcdc.HP.COM (Mike McNelly) Newsgroups: comp.lang.fortran Subject: Re: FORTRAN array aliasing -- potential problems? Message-ID: <5140006@hpfcdc.HP.COM> Date: 1 Aug 89 15:12:19 GMT References: <8907311910.AA15243@robalo.nyu.edu> Organization: HP Ft. Collins, Co. Lines: 13 As most of the responses have indicated, the real problem with using parameters to "equivalence" arrays as you've done is in optimization. Most optimizers assume that formal arguments have distinct memory locations so that they can be manipulated as distinct entities. If that is not the case, you will run into problems with most of the conventional optimization techniques. Some compilers have mechanisms to alter this assumption at the expense of limiting optimization. I'm familiar with HP 9000 machines which have this capability. Mike McNelly mike%hpfcla@hplabs.hp.com