Is there a test suite out there that checks whether a Fortran compiler fully implements the Fortran 2003 standard?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer: No
For Fortran 95, there is the SHAPE95 test suite by Spackman & Hendrickson, Inc. But, it never claimed to be a full testsuite, nor was it officially authoritative. Of course, the same applies to the NIST F77 testsuite which, as opposed to SHAPE95, is freely available. Secondly, AFAIK SHAPE95 hasn’t been updated for F2003.
So what to do? Well, some discussion about the same thing on c.l.f a few years ago:
FWIW, the “Richard Maine” character above was the editor of the F2003 standard, and “Dick Hendrickson” has IIRC also served on the standards committee, and yes, he’s one of the guys behind SHAPE95. IOW, they know what they’re talking about.
Finally, the gfortran compiler comes with a fairly large testsuite, which is freely available just like the rest of the compiler. I’ve seen some remarks from proprietary compiler vendors that they have also used it. But, again, the gfortran testsuite doesn’t claim to be a full testsuite; in fact, it’s mostly test cases that have previously exposed bugs in the compiler.