@@ -17,13 +17,17 @@ local:
17
17
This document summarizes Fortran standards support in Flang. The information is only provided as a guideline. The
18
18
TODOs/Not Yet Implemented messages emitted by the compiler for unimplemented features should be treated as authoritative.
19
19
20
- The standards support information is provided as a table with three columns that are self explanatory. The Status column uses
20
+ The standards support information is provided as a table with three columns that are self explanatory. No distinction is
21
+ made between the support in the Parser/Semantics and MLIR or Lowering support. The Status column uses
21
22
the letters ** P** , ** Y** , ** N** for the implementation status:
22
23
- ** P** : When the implementation is incomplete for a few cases
23
24
- ** Y** : When the implementation is complete
24
25
- ** N** : When the implementation is absent
25
26
26
- Note : No distinction is made between the support in the Parser/Semantics and MLIR or Lowering support.
27
+ There is no distinction made between support in the Parser/Semantics and the MLIR or Lowering stages.
28
+
29
+ Note: The two major missing features in Flang at present are coarrays and parameterized derived types (PDTs) with length type parameters.
30
+
27
31
28
32
## Fortran 2023
29
33
See [ document] ( F202X.md ) for a brief discussion about the new features in Fortran 2023. The following table summarizes the
@@ -64,26 +68,26 @@ the multi-image execution. The table entries are based on the document [The new
64
68
| Feature | Status | Comments |
65
69
| ------------------------------------------------------------| --------| ---------------------------------------------------------|
66
70
| Asynchronous communication | P | Syntax is accepted |
67
- | Teams | N | |
71
+ | Teams | N | Multi-image/Coarray feature |
68
72
| Image failure | P | stat_failed_image is added |
69
- | Form team statement | N | |
70
- | Change team construct | N | |
71
- | Coarrays allocated in teams | N | |
72
- | Critical construct | N | |
73
- | Lock and unlock statements | N | |
74
- | Events | N | |
75
- | Sync team construct | N | |
76
- | Image selectors | N | |
77
- | Intrinsic functions get_team and team_number | N | |
78
- | Intrinsic function image_index | N | |
79
- | Intrinsic function num_images | N | |
80
- | Intrinsic function this_image | N | |
81
- | Intrinsic move_alloc extensions | P | |
82
- | Detecting failed and stopped images | N | |
83
- | Collective subroutines | N | |
84
- | New and enhanced atomic subroutines | N | |
85
- | Failed images and stat= specifiers | N | |
86
- | Intrinsic function coshape | N | |
73
+ | Form team statement | N | Multi-image/Coarray feature |
74
+ | Change team construct | N | Multi-image/Coarray feature |
75
+ | Coarrays allocated in teams | N | Multi-image/Coarray feature |
76
+ | Critical construct | N | Multi-image/Coarray feature |
77
+ | Lock and unlock statements | N | Multi-image/Coarray feature |
78
+ | Events | N | Multi-image/Coarray feature |
79
+ | Sync team construct | N | Multi-image/Coarray feature |
80
+ | Image selectors | N | Multi-image/Coarray feature |
81
+ | Intrinsic functions get_team and team_number | N | Multi-image/Coarray feature |
82
+ | Intrinsic function image_index | N | Multi-image/Coarray feature |
83
+ | Intrinsic function num_images | N | Multi-image/Coarray feature |
84
+ | Intrinsic function this_image | N | Multi-image/Coarray feature |
85
+ | Intrinsic move_alloc extensions | P | Multi-image/Coarray feature |
86
+ | Detecting failed and stopped images | N | Multi-image/Coarray feature |
87
+ | Collective subroutines | N | Multi-image/Coarray feature |
88
+ | New and enhanced atomic subroutines | N | Multi-image/Coarray feature |
89
+ | Failed images and stat= specifiers | N | Multi-image/Coarray feature |
90
+ | Intrinsic function coshape | N | Multi-image/Coarray feature |
87
91
88
92
## Fortran 2008
89
93
All features except those listed in the following table are supported.
0 commit comments