|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0874 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0874.
Report 0874 Actions
Problem Report Number 0874 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0389 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-07 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 4.1.4 Test Identification POSIX.annexC/fort77 67 68 Problem Summary TSD4C.00122 The test may fail on implementations that do not allow multiple occurances of the PROGRAM statement in FORTRAN source files. Problem Text
The test may fail on implementations that do not allow multiple occurances
of the PROGRAM statement in FORTRAN source files.
The FORTRAN-77 standard says the following about PROGRAM statements:
14. Main Program
A main program is a program unit that does not have a
FUNCTION, SUBROUTINE, or BLOCK DATA statement as its first
statement. It may have a PROGRAM statement as its first
statement.
There must be exactly one main program in an executable
program.
...
14.1 PROGRAM statement
A PROGRAM statement is not required to appear in an executable
program. If it does appear, it must be the first statement of
the main program.
...
14.2 Main Program Restrictions
The PROGRAM statement may appear only as the first statement
of a main program. A main program may contain any other
statement execpt a BLCOK DATA, FUNCTION, SUBROUTINE, ENTRY, or
RETURN statement.
The definition of an executable program is in section 2.4.2:
An executable program is a collection of program units
that consists of exactly one main program and any number,
including none of subprograms and external subprograms.
and further definitions of terms is in section 2.4:
A program unit consists of a sequence of statements and optional
comment lines. A program unit is either a main program or a
subprogram.
A main program is a program unit that does not have a FUNCTION,
SUBROUTINE, or BLOCK DATA statement as its first statement.
A subprogram is a program unit that has a FUNCTION, SUBROUTINE,
or BLOCK DATA statement as its first statement.
The FORTRAN-77 syntax charts in the FORTRAN-77 Appendix F support this
restriction.
Test Output
***********************************************************************
/tset/POSIX.annexC/fort77/fort77.ex 1 Failed
Test Information:
Assertion #67 (C): 511 external symbols per file
Standard error isn't empty
Contents of out.stderr:
fort77_in_67_1.f:
MAIN fun:
a1:
a2:
a3:
a4:Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0874
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority