Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!ucsd!ucbvax!PUCC.PRINCETON.EDU!pschenk%cernapo.cern.ch From: pschenk%cernapo.cern.ch@PUCC.PRINCETON.EDU (P.R.Schenk) Newsgroups: comp.sys.apollo Subject: ftn -opt 4 Message-ID: <9012051629.AA07894@dxmint.cern.ch> Date: 5 Dec 90 16:43:57 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 X-Unparsable-Date: Wed, 5 Dec 90 17:25:45 SWI We have been trying to figure out what rules the fortran compiler uses to expand routines inline when compiling with opt 4 under 10.2.p. We have noticed that if routine A has a common block like common /acommon/ x , y , z and calls routine B as call B( x ) B will not get expanded in line. However if B is called with a variable not in a common it might be expanded. We would like to know more of these built in rules so that we could improve our inline success. Is there a way to find out how the compiler decides to inline expand or not? Thanks Ciao, Casper Paul Schenk | University of Victoria | CERN EP/ OPAL pschenk%cernapo@cernvax.cern.ch <- Pref. pschenk@cernvm.cern.ch schenk@uvvm.bitnet " I have never seen anything fill up a vacuum so fast and still suck " -Rob Pike on X