GNU Info

Info Node: (g77-300.info)Two-pass Code

(g77-300.info)Two-pass Code


Next: Why Two Passes Up: Two-pass Design
Enter node , (file) or (file)node

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).


automatically generated by info2www version 1.2.2.9