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

Jack Styles via flang-commits flang-commits at lists.llvm.org
Mon Apr 20 03:14:01 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
----------------
Stylie777 wrote:

Done

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


More information about the flang-commits mailing list