[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1243.0. "inlining question" by RTOMS::PARETIJ () Thu Mar 27 1997 11:27

unix 4.0b fortran 77 4.1
-------------------------

all subroutines in one file; when compiling with -O5 it fails with 
an internal error, suggesting that it's due to inlining.

I am looking for a way to specify a list of subtroutines to be inlined.
Is that possible ? 

/Thanks - Joseph
T.RTitleUserPersonal
Name
DateLines
1243.1TLE::EKLUNDAlways smiling on the inside!Thu Mar 27 1997 11:587
    	Inlining kicks in earlier than -O5.  Try -O4, where
    inlining also occurs.  There is no way to specify specific
    routines to be inlined.
    
    Cheers!
    Dave Eklund
    
1243.2MSBCS::SCHNEIDERSay it with ASCIIFri Mar 28 1997 08:137
    You might also try "-O5 -notransform_loops" or "-O4 -pipeline".
    In other words, enable software pipelining but not loop transforms.
    
    It probably goes without saying, but if you can supply a reproducer,
    I know the compiler team would like to fix the internal error.
    
    Chuck