Go to the first, previous, next, last section, table of contents.


Features for Compiling Fortran

SUIF is roughly based on C semantics and does not directly support some Fortran features. In particular, call-by-reference parameters occur frequently in Fortran programs and must be implemented in terms of other SUIF features. This introduces extra complexity that makes it harder to analyze and optimize the procedures. Fortunately this complexity can be hidden somewhat by converting the procedures to the SUIF Fortran form. The SUIF library provides functions to translate a procedure to this Fortran form after it is read from a file and to translate it back to the original SUIF form before it is written out. Common blocks and equivalences are generally handled using sub-variables, so the library's Fortran form does not need to do anything special to deal with them. Other more obscure Fortran features are also not handled in the Fortran form because they are less common and hard to deal with however they are represented.


Go to the first, previous, next, last section, table of contents.