24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

v<br />

v<br />

Use associated<br />

Value parameter<br />

Object Section<br />

File Table Section<br />

Type is one of the following:<br />

v Byte<br />

v Character<br />

v Complex<br />

v Derived type<br />

v Integer<br />

v Logical<br />

v Real<br />

If you specify the full suboption with -qxref or -qattr, <strong>XL</strong> <strong>Fortran</strong> reports all<br />

entities in the compilation unit. If you do not specify this suboption, only the<br />

entities you actually use appear.<br />

<strong>XL</strong> <strong>Fortran</strong> produces this section only when the -qlist compiler option is in effect.<br />

It contains the object code listing, which shows the source line number, the<br />

instruction offset in hexadecimal notation, the assembler mnemonic of the<br />

instruction, and the hexadecimal value of the instruction. On the right side, it also<br />

shows the cycle time of the instruction and the intermediate language of the<br />

compiler. Finally, the total cycle time (straight-line execution time) and the total<br />

number of machine instructions that are produced are displayed. There is a<br />

separate section <strong>for</strong> each compilation unit.<br />

This section contains a table that shows the file number and file name <strong>for</strong> each<br />

main source file and include file used. It also lists the line number of the main<br />

source file at which the include file is referenced. This section is always present.<br />

Compilation Unit Epilogue Section<br />

Compilation Epilogue Section<br />

This is the last section of the listing <strong>for</strong> each compilation unit. It contains the<br />

diagnostics summary and indicates whether the unit was compiled successfully.<br />

This section is not present in the listing if the file contains only one compilation<br />

unit.<br />

The compilation epilogue section occurs only once at the end of the listing. At<br />

completion of the compilation, <strong>XL</strong> <strong>Fortran</strong> presents a summary of the compilation:<br />

number of source records that were read, compilation start time, compilation end<br />

time, total compilation time, total CPU time, and virtual CPU time. This section is<br />

always present in a listing.<br />

Related In<strong>for</strong>mation: Sample programs are shown in Appendix A, “Sample<br />

<strong>Fortran</strong> Programs,” on page 405.<br />

Understanding <strong>XL</strong> <strong>Fortran</strong> Compiler Listings 393

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!