================
@@ -986,7 +986,7 @@ void test_promotion(void) {
void test_bool(_Bool b, _Bool* bp)
{
-#ifndef __arm__
+#if defined(__LP64__) || defined(_WIN32)
----------------
luporl wrote:
This works for ARMv7 and AArch64, but I'm not sure about AIX.
Although I don't have AIX hardware to test this PR, I had a previous fix that
failed on AIX because it has 64-bit integers and longs, so it seems to be ILP64
instead of LP64, and the warnings are displayed on it.
https://github.com/llvm/llvm-project/pull/181800
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits