================
@@ -562,6 +562,9 @@ void TargetInfo::adjust(DiagnosticsEngine &Diags, 
LangOptions &Opts,
     }
   }
 
+  if (Opts.Int64LongLong)
+    Int64Type = SignedLongLong;
----------------
ojhunt wrote:

I think an error diagnostic is the safest and should be adopted with this flag, 
even though I dislike the flag itself.

I think the core problem here is that the kernel is attempting to override the 
compiler specification of what bit-sized types are, and the problem being dealt 
with here is a direct consequence of that. _But_ given the way `long`, `long 
long`, and the way that actual bit-sized types are specified it also seems 
unavoidable that this kind of "lets override the compiler's idea of what types 
are what" isn't necessary rather than borked.

https://github.com/llvm/llvm-project/pull/234780
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to