www.delorie.com/gnu/docs/gcc/g77_686.html   search  
Buy the book!

Using and Porting GNU Fortran

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.4.1 Two-pass Code

Most of the code that turns the first pass (parsing) into a second pass for code generation is in `gcc/gcc/f/std.c'.

It has external functions, called mainly by siblings in `gcc/gcc/f/stc.c', that record the information on statements and expressions in the order they are seen in the source code. These functions save that information.

It also has an external function that revisits that information, calling the siblings in `gcc/gcc/f/ste.c', which handles the actual code generation (by generating GBEL code, that is, by calling GBE routines to represent and specify expressions, statements, and so on).

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003