[flang-commits] [clang] [flang] [llvm] Add clang warning if fp exception functions are called without appropriate flags/pragmas (PR #199009)
Chuanqi Xu via flang-commits
flang-commits at lists.llvm.org
Mon Sep 21 02:14:16 PDT 2026
================
@@ -6162,6 +6162,8 @@ ASTFileSignature ASTWriter::WriteASTCore(Sema *SemaPtr, StringRef isysroot,
AddTypeRef(Context, Context.ObjCClassRedefinitionType, SpecialTypes);
AddTypeRef(Context, Context.ObjCSelRedefinitionType, SpecialTypes);
AddTypeRef(Context, Context.getucontext_tType(), SpecialTypes);
+ AddTypeRef(Context, Context.getfexcept_tType(), SpecialTypes);
+ AddTypeRef(Context, Context.getfenv_tType(), SpecialTypes);
----------------
ChuanqiXu9 wrote:
Sorry at first as I didn't look through all the patches. But we do want to avoid predefined types if possible. Why does the types are special enough that we have to write them unconditionally?
https://github.com/llvm/llvm-project/pull/199009
More information about the flang-commits
mailing list