Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.misc Subject: Re: Whether cc after f2c can optimize arrays as well as f77 can Message-ID: <0AZ6XW4@xds13.ferranti.com> Date: 8 Nov 90 14:21:25 GMT References: <2779:Nov608:20:1990@kramden.acf.nyu.edu> <5085@lanl.gov> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 12 In article <5085@lanl.gov> jlg@lanl.gov (Jim Giles) writes: > version of 'sub' in file2, then the argument and the global would be > aliased in that context - either slow code or unsafe optimizations > must be accepted. Aliasing can be detected at run time and appropriate code called. If the code is short enough that this produces an unacceptable overhead, then subroutine call time dominates anyway and the whole thing should have been inline and it becomes a compiler problem. (yes, I know this can lead to a combinatorial explosion... but I'm not convinced that a 2-way case isn't good enough.) -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com