NPAC Technical Report SCCS-824

PCRC Fortran 90 And HPF Syntax Test Suite

D.B. Carpenter

Submitted October 16, 1998


Abstract

The Fortran syntax test suite is designed as a test of Fortran 90 and High Performance Fortran (HPF) compilers. It targets the parsing, or syntax-checking, phase of the compilers.

The suite currently consists of 8 standard Fortran 90 programs and one HPF program. The programs were constructed synthetically from the formal syntax definition of the languages. They exercise every syntax rule at least once. The tables of syntax rules used to generate the codes are also supplied with the test suite.

The test programs are annotated with comments flagging the first use (within the file) of each syntax rule. When a parser erroneously flags a syntax error on a particular line, these annotations should enable rapid isolation of the unrecognized syntax rule.


PostScript version of the paper

Hypertext version of the paper