Newsgroups: comp.lang.c Path: utzoo!utgpu!watserv1!watmath!tolstoy.waterloo.edu!mhcoffin From: mhcoffin@tolstoy.waterloo.edu (Michael Coffin) Subject: Re: low level optimization Message-ID: <1991Apr17.190243.24691@watmath.waterloo.edu> Sender: news@watmath.waterloo.edu (News Owner) Organization: University of Waterloo References: <21527@lanl.gov> <15870@smoke.brl.mil> <21660@lanl.gov> Date: Wed, 17 Apr 1991 19:02:43 GMT Lines: 17 In article <21660@lanl.gov> jlg@cochiti.lanl.gov (Jim Giles) writes: >The only way around this difficulty [detecting aliasing] is >interprocedural analysis - but C requires separate compilation. Where in heaven's name did you get the idea that separate compilation precludes interprocedural analysis? Ken Kennedy's group at Rice U. have for years been doing extremely fancy interprocedural analysis of Fortran programs and simultaneously providing separate compilation. Take a look at the work done on PFC back in the late 70's and early 80's. They operate under the same constraints that C demands---that object code has to repect the semantics of the language, regardless of what analysis is done. (Note, by the way, that Fortran compiler writers seem to find interprocedural analysis necessary for producing efficient code from Fortran in spite of the rules against aliased parameters.) -mike