[clang] [llvm] [SystemZ][z/OS] __ptr32 support for z/OS in Clang (PR #96063)

Zibi Sarbinowski via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 06:41:24 PDT 2024


================
@@ -3567,6 +3567,14 @@ void CompilerInvocationBase::GenerateLangArgs(const LangOptions &Opts,
       GenerateArg(Consumer, OPT_ftrigraphs);
   }
 
+  if (T.isOSzOS()) {
+    if (!Opts.ZOSExt)
+      GenerateArg(Consumer, OPT_fno_zos_extensions);
----------------
zibi2 wrote:

I assume the default is -fno-zos-extensions, can you check why we need to explicitly pass this option?

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


More information about the cfe-commits mailing list