Revert "Fix atomic builtins test that currently fails for llvm+compiler_rt when gcc is not present" (#18811)
Revert "Fix atomic builtins test that currently fails for llvm+compiler_rt wh…" This reverts commit 10720bea493e9665c1e7548198909c9b6e7119b3.
Stelios Fragkakis committed
Oct 18, 2024 at 23:19 UTC
5813cf2495a4165bf203135599b67fb3f107ef6e
1 file changed
+1
-2
CMakeLists.txt
+1
-2
@@ -448,8 +448,7 @@ int main() {
448
449
check_cxx_source_compiles("
450
int main() {
451
- int test;
452
- __atomic_load_n(&test, 0);
451
+ __atomic_load_8(nullptr, 0);
452
return 0;
453
}
454
" HAVE_BUILTIN_ATOMICS)