This chapter describes the information found in the optional KAP Fortran for OpenVMS ALPHA listing file and the messages KAP produces. To help you understand its actions, KAP lists the optimizations it performed and provides explanations for the places where no optimization was done.
For example, if three loops could have been optimized but KAP optimized only the one it determined most profitable, the listing file will contain notes giving reasons for the choices. Also, often a small DO loop is left unchanged because it will be faster to process in that form. Such situations can produce unexpected but correct code, so KAP produces an annotated listing to explain its output. The listing may also identify places where the use of directives or assertions may improve KAP effectiveness.
Section 9.1 presents the optional information
selected by the /listoptions
command qualifier. Section 9.1.1 shows an annotated listing
of the original and transformed program. An introduction to the
diagnostic messages that KAP can generate ends the chapter. Appendix B contains the main listing of KAP
diagnostic messages.