[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
Mon May 4 09:24:12 PDT 2026
================
@@ -527,6 +527,12 @@ end program
* Default exponent of zero, e.g. `3.14159E`, on a READ from a
fixed-width input field. Includes the case with only an
exponent letter for compatibility with other compilers.
+* Relax some restrictions to make `C_LOC` more like `LOC` for
+ compatibility with legacy code that should be fixed. This is
+ is unsafe and can be used to create aliases that the compiler
----------------
eugeneepshteyn wrote:
Typo: "is is unsafe"
https://github.com/llvm/llvm-project/pull/195112
More information about the flang-commits
mailing list