[comp.sys.apollo] ftn -opt 4

pschenk%cernapo.cern.ch@PUCC.PRINCETON.EDU (P.R.Schenk) (12/06/90)

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