Parsing for Syntax Only

Use the -y or -syntax option to stop processing source files after they have been parsed for Fortran language errors. This option gives you a way to check quickly whether sources are syntactically and semantically correct. The compiler creates no output file. In the following example, the compiler checks a file named prog1.f. Any diagnostics appear on the standard error output and in a listing, if you have requested one.

IA-32 applications: prompt>ifc -y prog1.f

Itanium(TM)-based applications: prompt>efc -y prog1.f