Skip to content

Commit 8477d64

Browse files
authored
Merge pull request #53 from sourceryinstitute/document-cray-results
doc(README.md): update Cray compiler test results
2 parents 8115759 + bf57fb3 commit 8477d64

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

Diff for: README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,19 @@ summarizes the observed compiler behaviors:
6666

6767
| _Compiler_ | _Test failures_ | _Version tested_ |
6868
| :--- | :---: | :--- |
69-
| NAG | 0 | `nagfor` 7.1 Build 7113 |
70-
| IBM | 1 | `xlf2003_r` 17.1.0 on AIX |
71-
| Intel | 2 | `ifort` 2021.5.0 Build 20211109\_000000 |
72-
| NVIDIA | 2 | `nvfortran` 22.7-0 |
73-
| Cray | 3 | `ftn` 13.0.1 |
74-
| GCC | 6 | `gfortran` 12.2.0 |
7569
| AMD | N.A. (see Note 1.) | `flang` 13.0.0 (AOCC_3.2.0-Build\#128 2021\_11\_12) |
70+
| Cray | >= 3 (see Note 3.) | `ftn` 13.0.1 |
71+
| GCC | 6 | `gfortran` 12.2.0 |
72+
| IBM | 1 | `xlf2008_r` 17.1.0 on AIX |
73+
| Intel | 1 | `ifort` 2021.7.0 Build 20220726_000000 |
7674
| LLVM | N.A. (see Note 2.) | `git` commit `f5253058144aca1e9fcacd` (9/20/2022)
75+
| NAG :trophy: | 0 | `nagfor` 7.1 Build 7113 |
76+
| NVIDIA | 2 | `nvfortran` 22.7-0 |
7777

7878
**Notes**
7979
1. Fails to build due to an internal compiler error (ICE).
8080
2. Fails to build due to type finalization not yet being supported.
81+
2. Fails to build due to `fpm` issue [767]. See [test/README.md#cray] for a lower bound on the Cray compiler test failures.
8182

8283
See the [test suite README.md](./test/README.md) for more details on each compiler's test
8384
results.
@@ -139,3 +140,5 @@ class diagram below of the three derived types in Smart-Pointers.
139140
[PlantUML]: https://plantuml.com
140141
[doc/]: ./doc
141142
[shallow copy]: https://en.wikipedia.org/wiki/Object_copying#Shallow_copy
143+
[767]: https://github.com/fortran-lang/fpm/issues/767
144+
[test/README.md#cray]: ./test/README.md#cray

Diff for: test/README.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,30 @@ Detailed Results
3131

3232
### Cray
3333
- Version: 13.0.1
34-
- Result: 3 test failures.
34+
- Result: at least 3 test failures.
35+
The Smart-Pointers library does not currenlty build with the Cray Fortran compiler, but
36+
the compiler standard-conformance tests embodied in [compiler_test_m.f90] also exist in
37+
a standalone format in a type-finalization [branch] of the Berkely Lab fork of the
38+
llvm-test-suite repository. The reslts of running those compiler test show three compiler
39+
test failures as follows:
40+
```
41+
git clone https://github.com/berkeleylab/llvm-test-suite
42+
cd llvm-test-suite/Fortran/UnitTests/finalization
43+
ftn compile_me_only.f90
44+
> ./a.out
45+
Cray Fortran : Version 13.0.1 fails to compile specification_expression_finalization.f90
46+
Pass: finalizes a non-allocatable object on the LHS of an intrinsic assignment
47+
Fail: finalizes an allocated allocatable LHS of an intrinsic assignment
48+
Pass: finalizes a target when the associated pointer is deallocated
49+
Pass: finalizes an object upon explicit deallocation
50+
Pass: finalizes a non-pointer non-allocatable object at the END statement
51+
Pass: finalizes a non-pointer non-allocatable object at the end of a block construct
52+
Pass: finalizes a function reference on the RHS of an intrinsic assignment
53+
Fail: finalizes a specification expression function result
54+
Fail: finalizes an intent(out) derived type dummy argument
55+
Pass: finalizes an allocatable component object
56+
```
57+
The number of unit test failures for the remainder of the Smart-Pointers test suite is unknown.
3558

3659
### GCC
3760
- Version: 12.2.0
@@ -152,3 +175,4 @@ Project is up to date
152175
[specification_expression_finalization.f90]: ../example/test-support/specification_expression_finalization.f90
153176
[compiler_test_m.f90]: ./compiler_test_m.f90
154177
[sp_smart_pointer_test_m.f90]: ./sp_smart_pointer_test_m.F90
178+
[branch]: https://github.com/BerkeleyLab/llvm-test-suite/tree/fortran-type-finalization/Fortran/UnitTests/finalization

0 commit comments

Comments
 (0)