[flang-commits] [clang] [flang] [flang][semantics] Add a flag to relax some of the semantic constraints on C_LOC (PR #195112)

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Fri May 1 09:40:16 PDT 2026


akuhlens wrote:

@vzakhari I have added documentation to explain that this is an unsafe extension for compatibility, and that you really shouldn't be using it and instead should change your application. 

Older test cases in `tests/Semantic/c_loc01.f90` show that without the flag you still get the error, and with the flag and even without pedantic you get a warning.

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


More information about the flang-commits mailing list