summaryrefslogtreecommitdiff
path: root/flang/lib/Support/Fortran.cpp
AgeCommit message (Collapse)Author
2025-10-29[flang] Implement IGNORE_TKR(P) (#165469)Eugene Epshteyn
Implemented IGNORE_TKR(P), which allows ignoring pointer and allocatable matching (can pass an allocatable array to routine with pointer array argument and vice versa). Updated documentation.
2025-08-06[flang][cuda] Remove meaningless warning on CUDA shared arguments (#152404)Valentin Clement (バレンタイン クレメン)
The warning in issued during the compatibility check makes little sense. Just remove it as it is confusing.
2025-04-08[flang][cuda] Relax compatibility rules when host,device procedure is ↵Valentin Clement (バレンタイン クレメン)
involved (#134926) Relax too restrictive rule for host, device procedure.
2025-03-18[flang][cuda] Check for ignore_tkr(d) when resolving generic call (#131923)Valentin Clement (バレンタイン クレメン)
2025-02-06[Flang] Move non-common headers to FortranSupport (#124416)Michael Kruse
Move non-common files from FortranCommon to FortranSupport (analogous to LLVMSupport) such that * declarations and definitions that are only used by the Flang compiler, but not by the runtime, are moved to FortranSupport * declarations and definitions that are used by both ("common"), the compiler and the runtime, remain in FortranCommon * generic STL-like/ADT/utility classes and algorithms remain in FortranCommon This allows a for cleaner separation between compiler and runtime components, which are compiled differently. For instance, runtime sources must not use STL's `<optional>` which causes problems with CUDA support. Instead, the surrogate header `flang/Common/optional.h` must be used. This PR fixes this for `fast-int-sel.h`. Declarations in include/Runtime are also used by both, but are header-only. `ISO_Fortran_binding_wrapper.h`, a header used by compiler and runtime, is also moved into FortranCommon.