[flang-commits] [flang] [Flang] Add `INLINEALWAYS` Compiler Directive (PR #192674)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Fri Apr 17 09:13:45 PDT 2026


================
@@ -99,6 +99,16 @@ A list of non-standard directives supported by Flang
   assignment statement.
 * `!dir$ forceinline` works in the same way as the `inline` directive, but it forces
    inlining by the compiler on a function call statement.
+* `!dir$ inlinealways <name>`. An alternative spelling to `forceinline`, providing compatibility
+  with older Fortran compilers, such as classic-flang. Can be defined at the callsite, or
----------------
kkwli wrote:

"It can be specified at the callsite, ..."

https://github.com/llvm/llvm-project/pull/192674


More information about the flang-commits mailing list