[flang-commits] [clang] [flang] [flang][semantics] Add a flag to relax some of the semantic constraints on C_LOC (PR #195112)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Fri May 1 11:00:20 PDT 2026
================
@@ -291,6 +291,17 @@ defm unsafe_cray_pointers : BoolOptionWithoutMarshalling<"f", "unsafe-cray-point
PosFlag<SetTrue, [], [FlangOption, FC1Option], "Optimizations allow for unsafe Cray pointer usages">,
NegFlag<SetFalse, [], [FlangOption, FC1Option], "Optimizations don't allow for unsafe Cray pointer usages (default)">>;
+def relaxed_c_loc : Flag<["-"], "frelaxed-c-loc">, Group<f_Group>,
----------------
eugeneepshteyn wrote:
Need to also document it in https://flang.llvm.org/docs/Extensions.html#extensions-supported-when-enabled-by-options
https://github.com/llvm/llvm-project/pull/195112
More information about the flang-commits
mailing list