[flang-commits] [flang] [flang] Enumeration Type PR02 - Addition of parse tree nodes following F2023 spec definition. (PR #191519)
via flang-commits
flang-commits at lists.llvm.org
Fri Apr 10 13:54:27 PDT 2026
kwyatt-ext wrote:
### Test Artifacts -
**make check-flang -j7**:
```
Testing Time: 6.85s
Total Discovered Tests: 4293
Unsupported : 82 (1.91%)
Passed : 4200 (97.83%)
Expectedly Failed: 11 (0.26%)
FLANG Container Test completed 1 minutes (63 s).
Total Time: 1 minutes (63 s)
Completed : Fri Apr 10 03:31:42 PM CDT 2026
```
**make check-flang-rt -j7**:
```
Testing Time: 0.79s
Total Discovered Tests: 279
Passed: 279 (100.00%)
FLANG Container Test completed 0 minutes (12 s).
Total Time: 0 minutes (12 s)
Completed : Fri Apr 10 03:33:27 PM CDT 2026
```
**./bin/llvm-lit -j10 ../flang/test**:
```
Testing Time: 198.03s
Total Discovered Tests: 6930
Passed: 6930 (100.00%)
LLVM Test Suite Container Test completed in 3 minutes (203 s).
Total Time: 3 minutes (203 s)
Completed : Fri Apr 10 03:43:46 PM CDT 2026
```
**Ad hoc**:
```
wyattke:~/builds/flang_work/d_type_02> cat ./test/enum_color.f90
subroutine color_test()
enumeration type :: color
enumerator :: red, green, blue
end enumeration type
type(color) :: c
c = red
end subroutine
wyattke:~/builds/flang_work/d_type_02> ./build/bin/flang-new -c ./test/enum_color.f90
error: Semantic errors in ./test/enum_color.f90
././test/enum_color.f90:2:3: error: F2023 ENUMERATION TYPEs are not yet implemented
enumeration type :: color
^^^^^^^^^^^^^^^^^^^^^^^^^
././test/enum_color.f90:6:8: error: Derived type 'color' not found
type(color) :: c
^^^^^
```
https://github.com/llvm/llvm-project/pull/191519
More information about the flang-commits
mailing list