https://github.com/frederick-vs-ja edited
https://github.com/llvm/llvm-project/pull/121650
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -28,6 +28,30 @@
#define _TG_ATTRSp __attribute__((__overloadable__))
#define _TG_ATTRS __attribute__((__overloadable__, __always_inline__))
+// https://github.com/llvm/llvm-project/issues/45552
+// workaround for MS UCRT's
+#if defined(_VCRUNTIME_H) && defined(_C_COMPLEX_T
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
@llvm/pr-subscribers-clang
Author: A. Jiang (frederick-vs-ja)
Changes
This patch uses `__builtin_bit_cast` as workaround to make MS UCRT's
non-conforming functions `` usable for ``.
Fixes #45552.
---
Patch is 21.02 Ki
https://github.com/frederick-vs-ja created
https://github.com/llvm/llvm-project/pull/121650
This patch uses `__builtin_bit_cast` as workaround to make MS UCRT's
non-conforming functions `` usable for ``.
Fixes #45552.
>From 0366072ca42ec9773897daabf7946eb37c631623 Mon Sep 17 00:00:00 2001
Fro